summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2020-03-23 12:01:40 +0100
committerJan Holesovsky <kendy@collabora.com>2020-03-23 16:13:21 +0100
commit358b0ba604b6626a6784922c3d4c01d900253036 (patch)
treea53763cfa5561538b883378b45c839c2592844ef
parentcfda0aa120a6e1908d60457f611753d1c50aa6bb (diff)
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@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
-rw-r--r--loleaflet/css/loleaflet.css13
1 files changed, 0 insertions, 13 deletions
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 {