Only add padding to top of app if in mobile version

This commit is contained in:
mmcwilliams 2018-01-04 16:32:59 -05:00
parent 34eefbd067
commit 6c28e729e1
2 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,7 @@ html,body,button,h2,label,input{
font-family: 'Arial Neue', Helvetical, Arial, sans-serif;
}
body{
body.mobile{
padding-top: 35px;
}
.page{

View File

@ -112,6 +112,7 @@ mobile.ble.onError = function (err) {
mobile.init = function () {
const bleInputs = document.querySelectorAll('.ble')
document.querySelector('body').classList.add('mobile')
window.frame = mobile.frame;
window.getState = mobile.getState;