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

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Tue Oct 29 15:17:50 UTC 2019


 loleaflet/css/loleaflet.css                  |    5 +++++
 loleaflet/css/toolbar.css                    |    3 ---
 loleaflet/src/layer/tile/ImpressTileLayer.js |    2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

New commits:
commit 97b6782ee580a5b4fcf42194b0e104381420c237
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Tue Oct 29 11:13:11 2019 -0400
Commit:     Henry Castro <hcastro at collabora.com>
CommitDate: Tue Oct 29 16:17:32 2019 +0100

    loleaflet: mobile: slide sorter is visible in view mode.
    
    Adjust the CSS property readonly at the bottom and change dynamically
    the document size dynamically to show the slide sorter in view mode.
    
    Change-Id: If49d682bcd1eed94443a5d8f8b20420744ba60f4
    Reviewed-on: https://gerrit.libreoffice.org/81691
    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 2ceed53b7..f53b3c618 100644
--- a/loleaflet/css/loleaflet.css
+++ b/loleaflet/css/loleaflet.css
@@ -206,6 +206,11 @@ body {
 		max-width: initial;
 	}
 
+	#presentation-controls-wrapper.readonly {
+		top: initial;
+		bottom: 0px;
+	}
+
 	/* Show sidebar beyond 768px only */
 	#sidebar-dock-wrapper {
 		display: none;
diff --git a/loleaflet/css/toolbar.css b/loleaflet/css/toolbar.css
index 5f35059a5..e0f4eb8c5 100644
--- a/loleaflet/css/toolbar.css
+++ b/loleaflet/css/toolbar.css
@@ -47,9 +47,6 @@
     border-style: solid;
     border-radius: 3px;
 	}
-	#presentation-controls-wrapper.readonly .preview-frame {
-    visibility: hidden;
-	}
 	#presentation-controls-wrapper {
     background-color: #f9f9f9;
 		border: none;
diff --git a/loleaflet/src/layer/tile/ImpressTileLayer.js b/loleaflet/src/layer/tile/ImpressTileLayer.js
index 37d2ed858..86bd43dd3 100644
--- a/loleaflet/src/layer/tile/ImpressTileLayer.js
+++ b/loleaflet/src/layer/tile/ImpressTileLayer.js
@@ -403,7 +403,7 @@ L.ImpressTileLayer = L.TileLayer.extend({
 				$(this._map.options.documentContainer).css('bottom', '95px');
 				this._addButton.addTo(this._map);
 			} else {
-				$(this._map.options.documentContainer).css('bottom', '0px');
+				$(this._map.options.documentContainer).css('bottom', '60px');
 				this._addButton.remove();
 			}
 		}


More information about the Libreoffice-commits mailing list