Skip to content

Commit

Permalink
Merge pull request #1315 from FlowFuse/1288-drop-page
Browse files Browse the repository at this point in the history
Support dropping group into empty page
  • Loading branch information
joepavitt authored Sep 23, 2024
2 parents 3ae153b + d7c8f25 commit 36e4baa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion nodes/config/ui_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -235,18 +235,23 @@
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 */
height: 20px; /* To make it visible */
text-align: center;
border-left-width: 0;
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;
Expand Down

0 comments on commit 36e4baa

Please sign in to comment.