[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2-1' - loleaflet/css

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


 loleaflet/css/loleaflet.css |   13 -------------
 1 file changed, 13 deletions(-)

New commits:
commit 358b0ba604b6626a6784922c3d4c01d900253036
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:13:21 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/+/90822
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Jan Holesovsky <kendy at collabora.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 {


More information about the Libreoffice-commits mailing list