[Libreoffice-commits] online.git: loleaflet/src
Pedro Pinto Silva (via logerrit)
logerrit at kemper.freedesktop.org
Wed Sep 2 14:57:39 UTC 2020
loleaflet/src/control/Control.JSDialogBuilder.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 337ce6373f66838b73e4b53bd10ca2ecb276f90d
Author: Pedro Pinto Silva <pedro.silva at collabora.com>
AuthorDate: Wed Sep 2 16:25:25 2020 +0200
Commit: Pedro Silva <pedro.silva at collabora.com>
CommitDate: Wed Sep 2 16:57:19 2020 +0200
Mobile: menu entries with icon missing extra class
.flex-fullwidth
This was causing elements (without arrow) in the insert mobilewizard
to have its labels misaligned
Change-Id: I0472a5d39a2691b48d7920a75821447622cc1801
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101937
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Pedro Silva <pedro.silva at collabora.com>
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index ab9056aef..c4323d791 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -2138,7 +2138,7 @@ L.Control.JSDialogBuilder = L.Control.extend({
var titleSpan = L.DomUtil.create('span', '', menuEntry);
titleSpan.innerHTML = title;
- var paddingClass = icon ? 'menu-entry-with-icon' : 'menu-entry-no-icon';
+ var paddingClass = icon ? 'menu-entry-with-icon flex-fullwidth' : 'menu-entry-no-icon';
L.DomUtil.addClass(titleSpan, paddingClass);
if (builder.wizard) {
More information about the Libreoffice-commits
mailing list