Only add padding to top of app if in mobile version
This commit is contained in:
parent
34eefbd067
commit
6c28e729e1
|
@ -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{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue