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

Jan Holesovsky (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 2 10:26:31 UTC 2020


 loleaflet/css/device-mobile.css |    6 ++++++
 loleaflet/css/leaflet.css       |   14 --------------
 2 files changed, 6 insertions(+), 14 deletions(-)

New commits:
commit 26219bb4a2bab28dc144f8621ab0768e2b3f67ab
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Thu Apr 2 09:10:33 2020 +0200
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Thu Apr 2 12:26:13 2020 +0200

    mobile: No ruler on mobile phones.
    
    Change-Id: I8641830f69276ee7bbfc1c29330e98731cfd26bc
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91548
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Jan Holesovsky <kendy at collabora.com>

diff --git a/loleaflet/css/device-mobile.css b/loleaflet/css/device-mobile.css
index 2ce4d27d2..5b1143739 100644
--- a/loleaflet/css/device-mobile.css
+++ b/loleaflet/css/device-mobile.css
@@ -55,6 +55,12 @@ div#w2ui-overlay-actionbar.w2ui-overlay{
 	display: none !important;
 }
 
+/* No ruler on mobile phones. */
+.loleaflet-ruler {
+	height: 0px;
+	display: none;
+}
+
 /* Related to menubar.css */
 .document-logo {
     width: 35px;
diff --git a/loleaflet/css/leaflet.css b/loleaflet/css/leaflet.css
index 06666f36d..7caea9340 100644
--- a/loleaflet/css/leaflet.css
+++ b/loleaflet/css/leaflet.css
@@ -832,20 +832,6 @@ input.clipboard {
 	margin: 0px;
 	}
 
-/* The 20px above is 5% of the 400px below. */
- at media screen and (max-height: 400px) {
-	.loleaflet-ruler {
-		height: 0px;
-		display: none;
-	}
-}
- at media (max-width: 767px), (max-device-height: 767px) {
-	.loleaflet-ruler {
-		height: 0px;
-		display: none;
-	}
-}
-
 .loleaflet-ruler-breakcontainer {
 	height: 100%;
 	position: absolute;


More information about the Libreoffice-commits mailing list