improved ui on different screen sizes

This commit is contained in:
didier amyot committed 2016-03-05 11:27:28 -05:00
1 parent 54e2edad11
commit a314f5d804
7 files changed
+90 -51

No files matched your search

+3 -3
View File
@@ -8,9 +8,9 @@ define(['m', '_', 'util', 'resultParser', 'views/topNavBar', 'views/footer'], fu
};
newsPageBody.getArticle = function(){
return m('article.uk-article',
return m('article.uk-article.uk-margin-',
m('h1.uk-article-title', util.loremIpsum(5)),
m('p.uk-article-meta.uk-margin-bottom', util.loremIpsum(8)),
m('p.uk-article-meta', util.loremIpsum(8)),
util.loremIpsum()
);
};
@@ -26,7 +26,7 @@ define(['m', '_', 'util', 'resultParser', 'views/topNavBar', 'views/footer'], fu
return [
m.component(topNavBar),
m('div.uk-grid.uk-margin-top.uk-margin-bottom',
m('div.uk-width-large-2-5.uk-width-small-1-1.uk-container-center',
m('div.uk-width-large-2-5.uk-width-medium-3-5.uk-width-small-1-1.uk-container-center',
m.component(newsPageBody))),
m.component(footer)
];