Last active
May 3, 2016 14:51
-
-
Save k-fish/f7cbc2245304037b16e4a2bc76423eeb to your computer and use it in GitHub Desktop.
MobileFix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, body { | |
margin: 0; | |
padding: 0; | |
position: 0; | |
} | |
body { | |
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
font-size: 12pt; | |
} | |
.header { | |
position: fixed; | |
top: 0; | |
width: 100%; | |
background-color: red; | |
padding: 10px 10px; | |
height: 80px; | |
text-align: center; | |
} | |
.scroll-parent { | |
position: fixed; | |
top: 80px; | |
bottom: 80px; | |
left: 0; | |
right: 0; | |
overflow-y: scroll; | |
overflow-x: hidden; | |
} | |
.scrollable-pane { | |
height: 2000px; | |
background-color: green; | |
} | |
.footer { | |
position:fixed; | |
bottom: 0; | |
width: 100%; | |
background-color: yellow; | |
text-align: center; | |
height: 80px; | |
vertical-align: center; | |
} | |
.textarea { | |
padding: 10px 10px; | |
height: 50%; | |
width: 200px; | |
margin-left: auto; | |
margin-right: auto; | |
background-color: purple; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.8.0", | |
"EmberENV": { | |
"FEATURES": {} | |
}, | |
"options": { | |
"use_pods": false, | |
"enable-testing": false | |
}, | |
"dependencies": { | |
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js", | |
"ember": "2.5.1", | |
"ember-data": "2.5.2", | |
"ember-template-compiler": "2.5.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment