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

Pranav Kant pranavk at collabora.co.uk
Fri Feb 17 15:29:55 UTC 2017


 loleaflet/dist/loleaflet.css |    4 ++++
 loleaflet/src/map/Map.js     |    1 +
 2 files changed, 5 insertions(+)

New commits:
commit c3f9ebb888ac41502c6dd7080063a4d12d1c62ef
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Fri Feb 17 20:53:54 2017 +0530

    loleaflet: Fix readonly UI for impress
    
    Change-Id: I1434cad4f471a3f13c989d67b95b967345598148

diff --git a/loleaflet/dist/loleaflet.css b/loleaflet/dist/loleaflet.css
index 425859d..ef7a3fd 100644
--- a/loleaflet/dist/loleaflet.css
+++ b/loleaflet/dist/loleaflet.css
@@ -50,6 +50,10 @@ body {
     display: block;
 }
 
+#presentation-controls-wrapper.readonly {
+    top: 30px;
+}
+
 @media (max-width: 767px) {
     /* Show slidesorter beyond 768px only */
     #presentation-controls-wrapper {
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index bd6c531..51fc434 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -107,6 +107,7 @@ L.Map = L.Evented.extend({
 				L.DomUtil.addClass(L.DomUtil.get('logo'), 'readonly');
 				L.DomUtil.addClass(L.DomUtil.get('toolbar-wrapper'), 'readonly');
 				L.DomUtil.addClass(L.DomUtil.get('main-menu'), 'readonly');
+				L.DomUtil.addClass(L.DomUtil.get('presentation-controls-wrapper'), 'readonly');
 			}
 		}, this);
 		this.on('doclayerinit', function() {


More information about the Libreoffice-commits mailing list