diff options
author | Henry Castro <hcastro@collabora.com> | 2019-10-30 13:16:26 -0400 |
---|---|---|
committer | Henry Castro <hcastro@collabora.com> | 2019-10-31 17:11:16 +0100 |
commit | bea95e329b17ea4365453c63ee88cf81bf54585e (patch) | |
tree | 1c081264baac9e49ab1aa7d746b2cd2259bc99ae | |
parent | 74adf2f61a52f9c13aa1f76ae816143c5038c514 (diff) |
mobileWizard: avoid setting the CSS top property
It is better that browser sets the normal CSS Box layout, otherwise I
have to count pixel for a new box added to the mobile wizard container.
Change-Id: Iec378cfc630be5f8e2419ee22ae074704a9ebc82
Reviewed-on: https://gerrit.libreoffice.org/81793
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
-rw-r--r-- | loleaflet/src/control/Control.MobileWizard.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/loleaflet/src/control/Control.MobileWizard.js b/loleaflet/src/control/Control.MobileWizard.js index eb859170a..fd93b9117 100644 --- a/loleaflet/src/control/Control.MobileWizard.js +++ b/loleaflet/src/control/Control.MobileWizard.js @@ -30,7 +30,6 @@ L.Control.MobileWizard = L.Control.extend({ $('#mobile-wizard-tabs').hide(); $('#mobile-wizard-titlebar').show(); $('#mobile-wizard-titlebar').css('top', '0px'); - $('#mobile-wizard-content').css('top', '48px'); $('#mobile-wizard').removeClass('menuwizard'); this._isTabMode = false; this._currentPath = []; @@ -77,7 +76,6 @@ L.Control.MobileWizard = L.Control.extend({ $('#mobile-wizard-tabs').empty(); $('#mobile-wizard-tabs').append(tabs); $('#mobile-wizard-titlebar').hide(); - $('#mobile-wizard-content').css('top', '63px'); this._isTabMode = true; }, |