Skip to content

Commit 4b604a6

Browse files
committed
Fixed app icon sizing for HD (720p) resolution
1 parent 943eeb5 commit 4b604a6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

frontend/views/BrowserPanel.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
var
22
kind = require('enyo/kind'),
3+
ri = require('enyo/resolution'),
34
Model = require('enyo/Model'),
45
DetailsPanel = require('./DetailsPanel'),
56
Overlay = require('moonstone/Overlay'),
@@ -67,7 +68,7 @@ var AppListItem = kind({
6768
kind: MoonImage,
6869
name: 'img',
6970
// placeholder: EnyoImage.placeholder,
70-
style: 'width: 100px; height: 100px; float: left; padding-right: 20px; padding-top: 5px',
71+
style: 'width: 5rem; height: 5rem; float: left; padding-right: 1rem; padding-top: 0.; padding-bottom: 0.25rem',
7172
sizing: 'contain',
7273
},
7374
{name: 'caption', classes: 'caption', kind: Marquee.Text},

frontend/views/DetailsPanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ module.exports = kind({
7070
{
7171
kind: MoonImage,
7272
name: 'headerImage',
73-
style: 'width: 100px; height: 100px; float: left; padding-right: 20px; padding-top: 5px',
73+
style: 'width: 5rem; height: 5rem; float: left; padding-right: 1rem; padding-top: 0.25rem',
7474
sizing: 'contain',
7575
},
7676
],

0 commit comments

Comments
 (0)