Reinstate button offsets WRT setting, accept that setting is going to be grey if unselectable

This commit is contained in:
Neil Bird 2022-07-21 14:05:30 +01:00
parent 64c0392af7
commit 55bc13a7ad
2 changed files with 5 additions and 0 deletions

View file

@ -102,6 +102,7 @@ class PiHole extends panelMenu.Button
// .. status
this.StatusField = new popupMenu.PopupMenuItem("", {style_class:"pihole-status-line"});
this.setStatusText();
this.StatusField.reactive = false;
this.menu.addMenuItem(this.StatusField);
// .. sep

View file

@ -0,0 +1,4 @@
.pihole-indent
{
padding-left: 2ex;
}