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

Pranam Lashkari (via logerrit) logerrit at kemper.freedesktop.org
Fri Mar 6 13:52:37 UTC 2020


 loleaflet/css/partsPreviewControl.css |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 439ce089f27dbe69322d1dfc426f9c743ae08497
Author:     Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Sat Feb 29 21:11:37 2020 +0530
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Fri Mar 6 14:52:19 2020 +0100

    leaflet: slide previews in impress adjusted to fit
    
    In mobile vertical view impress slide previews were not visible
    
    Change-Id: I24420577769e1124f9c7004ced54786522aa4bce
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89758
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Henry Castro <hcastro at collabora.com>

diff --git a/loleaflet/css/partsPreviewControl.css b/loleaflet/css/partsPreviewControl.css
index f87d5ed95..3a7e14774 100644
--- a/loleaflet/css/partsPreviewControl.css
+++ b/loleaflet/css/partsPreviewControl.css
@@ -33,7 +33,7 @@
 	margin-left: 20px;
 	}
 
- at media (max-width: 767px) and (orientation: potrait), (max-device-height: 767px) and (orientation: portrait) {
+ at media (max-width: 767px) and (orientation: potrait), (max-device-width: 767px) and (orientation: portrait) {
 	#slide-sorter {
 		max-height: 60px;
 	}
@@ -41,6 +41,7 @@
 	.preview-img {
 		min-width: 60px;
 		max-width: 60px;
+		margin: 0px;
 	}
 
 	.preview-frame {
@@ -51,7 +52,7 @@
 	}
 }
 
- at media (max-width: 767px) and (orientation: landscape), (max-device-height: 767px) and (orientation: landscape) {
+ at media (max-height: 767px) and (orientation: landscape), (max-device-height: 767px) and (orientation: landscape) {
 	#slide-sorter {
 		max-width: 120px;
 	}


More information about the Libreoffice-commits mailing list