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

Jan Holesovsky (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 2 14:38:18 UTC 2020


 loleaflet/css/device-mobile.css       |    5 +++++
 loleaflet/css/partsPreviewControl.css |    9 +--------
 2 files changed, 6 insertions(+), 8 deletions(-)

New commits:
commit 53a668b179f99482210015cc0228d2297a3be447
Author:     Jan Holesovsky <kendy at collabora.com>
AuthorDate: Thu Apr 2 15:39:40 2020 +0200
Commit:     Jan Holesovsky <kendy at collabora.com>
CommitDate: Thu Apr 2 16:37:59 2020 +0200

    mobile: Drag and drop target is smaller on mobile.
    
    Change-Id: Ic17eac122578bbefed75e1b8a9569d3ae622cbc4
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91574
    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 685d16454..363818deb 100644
--- a/loleaflet/css/device-mobile.css
+++ b/loleaflet/css/device-mobile.css
@@ -684,3 +684,8 @@ td[id^=tb_spreadsheet-toolbar_item]:focus table.w2ui-button div.w2ui-icon, td[id
 	max-width: 66px;
 	display: block;
 }
+
+/* Highlight where a slide can be dropped when reordering by drag-and-drop. */
+.preview-img-dropsite {
+    border-bottom: 3px solid #b6b6b6;
+}
diff --git a/loleaflet/css/partsPreviewControl.css b/loleaflet/css/partsPreviewControl.css
index 4ea0d3c7e..0d07b3d0c 100644
--- a/loleaflet/css/partsPreviewControl.css
+++ b/loleaflet/css/partsPreviewControl.css
@@ -47,12 +47,5 @@
 
 /* Highlight where a slide can be dropped when reordering by drag-and-drop. */
 .preview-img-dropsite {
-    border-bottom: 3px solid #b6b6b6;
-}
-
-/* Make it larger on larger displays */
- at media (min-width: 768px),(min-device-height: 768px) {
-    .preview-img-dropsite {
-	border-bottom: 20px solid #b6b6b6;
-    }
+    border-bottom: 20px solid #b6b6b6;
 }


More information about the Libreoffice-commits mailing list