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

Jan Holesovsky (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 23 15:16:17 UTC 2020


 loleaflet/css/loleaflet.css |   13 -------------
 loleaflet/css/menubar.css   |    2 +-
 2 files changed, 1 insertion(+), 14 deletions(-)

New commits:
commit cf04289fb48e5aaad71579d3279febe1217819a2
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Mon Mar 23 12:01:40 2020 +0100
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Mon Mar 23 16:16:10 2020 +0100

    android: Fix jumping of the toolbar up and down when the keyboard shows.
    
    Apparently this will cause a regression on iOS; OTOH we have disabled
    the landscape mode there for now, so hopefully we'll be able to come up
    with the real solution there.
    
    Change-Id: Ie39de95a68e34694e53b4034e8db389546515ba8
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90907
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>

diff --git a/loleaflet/css/loleaflet.css b/loleaflet/css/loleaflet.css
index 2016bc131..d3a700f15 100644
--- a/loleaflet/css/loleaflet.css
+++ b/loleaflet/css/loleaflet.css
@@ -182,19 +182,6 @@ body {
 	#toolbar-hamburger {
 		width: 36px;
 	}
-	/* In Safari on iPhone, the address bar is auto-hidden in landscape
-	 * orientation. For some reason this prevents jQuery from
-	 * getting events when tapping on the things in the toolbar at
-	 * the top, like the hamburger button. To work around this,
-	 * add a bit of padding to the body element. This is of course
-	 * an extremely silly waste of precious vertical space and
-	 * some other solution should be found.
-	 */
-	@media (orientation: landscape) {
-		body {
-			padding-top: 20px;
-		}
-	}
 }
 
 #mobile-edit-button {
commit 6964ca9d693fe879a73037086c7d0b7d3b427363
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Fri Mar 20 19:27:01 2020 +0100
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Mon Mar 23 16:15:59 2020 +0100

    Fix the menu height.
    
    Change-Id: I258ac19e05bf7925f450a45b7ca5ebc813fc0384
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90836
    Tested-by: Jan Holesovsky <kendy at collabora.com>
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/loleaflet/css/menubar.css b/loleaflet/css/menubar.css
index df11acf55..37ba4d121 100644
--- a/loleaflet/css/menubar.css
+++ b/loleaflet/css/menubar.css
@@ -42,7 +42,7 @@
 }
 
 .main-nav {
-    height: 30px; /* on mouseover menubar items, border emerges */
+    height: 32px; /* on mouseover menubar items, border emerges */
     width: auto;
     background: #ffffff;
     margin: 3px;


More information about the Libreoffice-commits mailing list