loleaflet/css/mobilewizard.css | 3 +++ loleaflet/src/layer/tile/ImpressTileLayer.js | 2 ++ 2 files changed, 5 insertions(+)
New commits: commit 85be221cf84dd9b79b5454a590b32bdba3dd24cf Author: Pedro Pinto Silva <pedro.si...@collabora.com> AuthorDate: Fri Nov 1 16:12:16 2019 +0100 Commit: Henry Castro <hcas...@collabora.com> CommitDate: Fri Nov 1 16:17:33 2019 +0100 Fix to complement the new changes from bea95e329b17ea4365453c63ee88cf81bf54585e: - added new class for mobile-wizard-content (only when in presence of slide-sorter) - CSS fix Change-Id: Ib85bc284e7a8a1a405bf4b7cfe470750bbd4f0f3 Reviewed-on: https://gerrit.libreoffice.org/81891 Reviewed-by: Henry Castro <hcas...@collabora.com> Tested-by: Henry Castro <hcas...@collabora.com> diff --git a/loleaflet/css/mobilewizard.css b/loleaflet/css/mobilewizard.css index de4decad8..76ccdee58 100644 --- a/loleaflet/css/mobilewizard.css +++ b/loleaflet/css/mobilewizard.css @@ -237,3 +237,6 @@ p.mobile-wizard.ui-combobox-text.selected { background: url(images/lc_listitem-selected.svg) no-repeat right; color: #0867af !important; } +#mobile-wizard-content:not(.with-slide-sorter-above){ + top: 63px !important; +} diff --git a/loleaflet/src/layer/tile/ImpressTileLayer.js b/loleaflet/src/layer/tile/ImpressTileLayer.js index 3c7bb2659..bf702925a 100644 --- a/loleaflet/src/layer/tile/ImpressTileLayer.js +++ b/loleaflet/src/layer/tile/ImpressTileLayer.js @@ -51,10 +51,12 @@ L.ImpressTileLayer = L.TileLayer.extend({ map.on('doclayerinit', this.onMobileInit, this); L.Control.MobileWizard.mergeOptions({maxHeight: '55%'}); var mobileWizard = L.DomUtil.get('mobile-wizard'); + var mobileWizardContent = L.DomUtil.get('mobile-wizard-content'); var container = L.DomUtil.createWithId('div', 'mobile-wizard-header', mobileWizard); var preview = L.DomUtil.createWithId('div', 'mobile-slide-sorter', container); L.DomUtil.toBack(container); map.addControl(L.control.partsPreview(container, preview, {fetchThumbnail: false})); + L.DomUtil.addClass(mobileWizardContent, 'with-slide-sorter-above'); } }, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits