add an option to have old-style directory view instead of tree view

This commit is contained in:
AUTOMATIC1111
2024-03-08 09:52:25 +03:00
parent a43ce7eabb
commit a551a43164
7 changed files with 111 additions and 57 deletions

View File

@@ -1205,12 +1205,24 @@ body.resizing .resize-handle {
overflow: hidden;
}
.extra-network-pane .extra-network-pane-content {
.extra-network-pane .extra-network-pane-content-dirs {
display: flex;
flex: 1;
flex-direction: column;
overflow: hidden;
}
.extra-network-pane .extra-network-pane-content-tree {
display: flex;
flex: 1;
overflow: hidden;
}
.extra-network-dirs-hidden .extra-network-dirs{ display: none; }
.extra-network-dirs-hidden .extra-network-tree{ display: none; }
.extra-network-dirs-hidden .resize-handle { display: none; }
.extra-network-dirs-hidden .resize-handle-row { display: flex !important; }
.extra-network-pane .extra-network-tree {
flex: 1;
font-size: 1rem;