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

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Fri Feb 7 16:27:29 UTC 2020


 loleaflet/css/loleaflet.css                  |    4 ++++
 loleaflet/src/layer/tile/ImpressTileLayer.js |    1 +
 2 files changed, 5 insertions(+)

New commits:
commit 779833ec7ceb4e32ba73967b4ef0dc43b5334090
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Fri Feb 7 11:54:37 2020 -0400
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Fri Feb 7 17:27:10 2020 +0100

    loleaflet: mobile: change position of the edit button
    
    when document type is Impress
    
    Change-Id: I33af9c10827f50be25a8490b7de8fe5504b06352
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88216
    Reviewed-by: Henry Castro <hcastro at collabora.com>
    Tested-by: Henry Castro <hcastro at collabora.com>

diff --git a/loleaflet/css/loleaflet.css b/loleaflet/css/loleaflet.css
index 3805b1b4e..2eef29afe 100644
--- a/loleaflet/css/loleaflet.css
+++ b/loleaflet/css/loleaflet.css
@@ -190,6 +190,10 @@ body {
 	z-index: 1001;
 }
 
+#mobile-edit-button.impress {
+	bottom: 70px;
+}
+
 #mobile-edit-button-image {
 	position: relative;
 	left: 16px;
diff --git a/loleaflet/src/layer/tile/ImpressTileLayer.js b/loleaflet/src/layer/tile/ImpressTileLayer.js
index 92a0bca5f..ae3d65646 100644
--- a/loleaflet/src/layer/tile/ImpressTileLayer.js
+++ b/loleaflet/src/layer/tile/ImpressTileLayer.js
@@ -14,6 +14,7 @@ L.ImpressTileLayer = L.TileLayer.extend({
 
 		if (window.mode.isMobile()) {
 			this._addButton = L.control.mobileSlide();
+			L.DomUtil.addClass(L.DomUtil.get('mobile-edit-button'), 'impress');
 		}
 	},
 


More information about the Libreoffice-commits mailing list