Skip to content

Commit

Permalink
support dropping group into empty page
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve-Mcl committed Sep 21, 2024
1 parent 97b97c4 commit 339290c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nodes/config/ui_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,11 @@
display: flex;
flex-direction: column;
}
div.nrdb2-sb-group-list-container ol.nrdb2-sb-group-list.red-ui-editableList-list.ui-sortable,
div.nrdb2-sb-widget-list-container ol.nrdb2-sb-widget-list.red-ui-editableList-list.ui-sortable {
min-height: 20px; /* IMPORTANT! So that user when last element is dragged out it doesnt collapse. */
}
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 */
Expand All @@ -247,11 +249,13 @@
border-right-width: 0;
background-color: #f9f9f9;
}
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;
}
Expand Down

0 comments on commit 339290c

Please sign in to comment.