diff --git a/loleaflet/css/device-mobile.css b/loleaflet/css/device-mobile.css index 375077b39..f339be598 100644 --- a/loleaflet/css/device-mobile.css +++ b/loleaflet/css/device-mobile.css @@ -827,7 +827,7 @@ td[id^='tb_spreadsheet-toolbar_item']:focus table.w2ui-button div.w2ui-icon, td[ #mobile-wizard-content #MacroSelectorDialog #commands > .mobile-wizard.ui-treeview-body { min-height: auto; } -#mobile-wizard-content #MacroSelectorDialog #commands > .mobile-wizard.ui-treeview-body::after { +#mobile-wizard-content #MacroSelectorDialog #commands.empty > .mobile-wizard.ui-treeview-body::after { content: '…'; width: 22px; height: 22px; diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js index c56017aa8..23c00e69a 100644 --- a/loleaflet/src/control/Control.JSDialogBuilder.js +++ b/loleaflet/src/control/Control.JSDialogBuilder.js @@ -1905,8 +1905,10 @@ L.Control.JSDialogBuilder = L.Control.extend({ tbody.ondragover = function (event) { event.preventDefault(); }; } - if (!data.entries || data.entries.length === 0) + if (!data.entries || data.entries.length === 0) { + L.DomUtil.addClass(table, 'empty'); return false; + } if (isHeaderListBox) { // list view with headers