summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2020-02-29 21:11:37 +0530
committerTor Lillqvist <tml@collabora.com>2020-03-11 13:14:35 +0100
commit4386c1718bcfaac3563fe861aacd1e9f51d948c0 (patch)
treebf841e7efe99da0d9b7922390549449971168e17
parent11d699c9f3646c496ae5e6fbe54fb4de4d4a126b (diff)
leaflet: slide previews in impress adjusted to fitdistro/collabora/co-4-2-0
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@gmail.com> Reviewed-by: Henry Castro <hcastro@collabora.com> (cherry picked from commit 439ce089f27dbe69322d1dfc426f9c743ae08497) Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90319 Reviewed-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r--loleaflet/css/partsPreviewControl.css5
1 files changed, 3 insertions, 2 deletions
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;
}
-@media (max-width: 767px) and (orientation: potrait), (max-device-height: 767px) and (orientation: portrait) {
+@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 @@
}
}
-@media (max-width: 767px) and (orientation: landscape), (max-device-height: 767px) and (orientation: landscape) {
+@media (max-height: 767px) and (orientation: landscape), (max-device-height: 767px) and (orientation: landscape) {
#slide-sorter {
max-width: 120px;
}