From d7c8f25d67109656d9708a97047d0edda58fae7a Mon Sep 17 00:00:00 2001 From: Joe Pavitt Date: Mon, 23 Sep 2024 11:10:10 +0100 Subject: [PATCH] Minor CSS corrections to prevent double bordering --- nodes/config/ui_base.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nodes/config/ui_base.html b/nodes/config/ui_base.html index 78ecda2fe..aa3953925 100644 --- a/nodes/config/ui_base.html +++ b/nodes/config/ui_base.html @@ -241,7 +241,6 @@ } div.nrdb2-sb-group-list-container ol.nrdb2-sb-group-list.red-ui-editableList-list.ui-sortable:empty, div.nrdb2-sb-widget-list-container ol.nrdb2-sb-widget-list.red-ui-editableList-list.ui-sortable:empty { - border: 1px dashed #c4c4c4; padding: 8px; /* should be 9px to match the other entries but border width is 2px */ height: 20px; /* To make it visible */ text-align: center; @@ -249,13 +248,15 @@ border-right-width: 0; background-color: #f9f9f9; } + div.nrdb2-sb-widget-list-container ol.nrdb2-sb-widget-list.red-ui-editableList-list.ui-sortable:empty { + border: 1px dashed #c4c4c4; + } div.nrdb2-sb-group-list-container ol.nrdb2-sb-group-list.red-ui-editableList-list.ui-sortable:empty::before, div.nrdb2-sb-widget-list-container ol.nrdb2-sb-widget-list.red-ui-editableList-list.ui-sortable:empty::before { content: "empty"; color: #d2d2d2; font-style: italic; } - ol.nrdb2-sb-group-list li:last-child ol.nrdb2-sb-group-list.red-ui-editableList-list.ui-sortable:empty, ol.nrdb2-sb-group-list li:last-child ol.nrdb2-sb-widget-list.red-ui-editableList-list.ui-sortable:empty { border-bottom-width: 0px; }