Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

Commit

Permalink
Small updates to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurClemens committed Feb 27, 2016
1 parent 7ef035f commit 5c18b1c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
3 changes: 3 additions & 0 deletions examples/src/app/app/common-style.es6.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import vars from './variables';

const styles = [{
' *': {
'box-sizing': 'border-box'
},
' html, body': {
'min-height': '100%',
height: '100%'
Expand Down
2 changes: 1 addition & 1 deletion examples/src/app/app/common-style.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions examples/src/app/paging/paging-style.es6.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const gridSpacing = 8;
const pageWidth = 320;
const itemSize = (320 - 2 * gridSpacing) / 3;
const pageHeight = 4 * itemSize + 3 * gridSpacing + 2 * gridSpacing;
const imageHolderPadding = 10;
const imageHolderPaddingPx = imageHolderPadding + 'px';

Expand All @@ -10,15 +9,15 @@ const styles = [
'.paging': {
width: pageWidth + 'px',
margin: '0 auto',
height: '100%',

' .mithril-infinite__scroll-view.mithril-infinite__scroll-view--y': {
height: pageHeight + 'px',
height: 'auto'
},
' .mithril-infinite__scroll-content': {
margin: '0 auto',
width: pageWidth + 'px',
padding: gridSpacing + 'px 0',
padding: gridSpacing + 'px 0 0',


' .mithril-infinite__content': {
margin: '0 auto',
Expand Down
2 changes: 1 addition & 1 deletion examples/src/app/paging/paging-style.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5c18b1c

Please sign in to comment.