[Libreoffice-commits] online.git: loleaflet/css loleaflet/src

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Nov 21 19:23:47 UTC 2018


 loleaflet/css/menubar.css                |    2 +-
 loleaflet/src/control/Control.Menubar.js |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ef828372c21277bdd3281c29bebb3f040c9477d2
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Wed Nov 21 18:56:36 2018 +0100
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Wed Nov 21 20:23:23 2018 +0100

    mobile menu: Fix the z-index to cover the document's custom scrollbars.
    
    Change-Id: Idc29cfaa12f5bbf3971e29c49aecb8c5bed5f49d

diff --git a/loleaflet/css/menubar.css b/loleaflet/css/menubar.css
index a20cb85c7..cd6eaa27c 100644
--- a/loleaflet/css/menubar.css
+++ b/loleaflet/css/menubar.css
@@ -234,7 +234,7 @@
         margin: 0;
         -webkit-overflow-scrolling: touch;
         overflow: scroll;
-        z-index: 1000;
+        z-index: 1010;
     }
 
 }
diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js
index a14603c13..de9c2f114 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -553,7 +553,7 @@ L.Control.Menubar = L.Control.extend({
 					var $menu = $('#main-menu');
 					var $nav = $menu.parent();
 					if (this.checked) {
-						$nav.css({height: 'initial', bottom: 33});
+						$nav.css({height: 'initial', bottom: '38px'});
 						$menu.hide().slideDown(250, function() { $menu.css('display', ''); });
 					} else {
 						$menu.show().slideUp(250, function() { $menu.css('display', ''); });


More information about the Libreoffice-commits mailing list