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

Szymon Kłos (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 9 16:03:55 UTC 2019


 loleaflet/src/control/Control.JSDialogBuilder.js |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 1455f45cc3bfaccc23509a3a7efdf70413cb5bb9
Author:     Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Wed Oct 9 18:03:23 2019 +0200
Commit:     Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Wed Oct 9 18:03:33 2019 +0200

    jsdialogs: add arrows to explorable items
    
    Change-Id: If2d0cab069241c907512ad39dbb6127ff6b434cf

diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 3742d9a2a..e3852b256 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -145,6 +145,11 @@ L.Control.JSDialogBuilder = L.Control.extend({
 		var sectionTitle = L.DomUtil.create('div', 'ui-header level-' + builder._currentDepth + ' mobile-wizard ui-widget', parentContainer);
 		sectionTitle.innerHTML = title;
 
+		$(sectionTitle).css('justify-content', 'space-between');
+
+		var arrowSpan = L.DomUtil.create('span', 'sub-menu-arrow', sectionTitle);
+		arrowSpan.innerHTML = '>';
+
 		var contentDiv = L.DomUtil.create('div', 'ui-content level-' + builder._currentDepth + ' mobile-wizard', parentContainer);
 		contentDiv.title = title;
 


More information about the Libreoffice-commits mailing list