Fix broken scrollbars

This commit is contained in:
Sj-Si 2024-01-21 11:27:24 -05:00
parent b67a49441f
commit d7d3166a27
2 changed files with 8 additions and 16 deletions

View File

@ -1,5 +1,3 @@
<div class="tree-list"> <div class="tree-list">
<div class="tree-list-container">
{tree} {tree}
</div> </div>
</div>

View File

@ -1179,20 +1179,20 @@ body.resizing .resize-handle {
resize: vertical; resize: vertical;
min-height: 52rem; min-height: 52rem;
flex-direction: column; flex-direction: column;
overflow: hidden;
} }
.extra-network-pane .extra-network-pane-content { .extra-network-pane .extra-network-pane-content {
display: flex; display: flex;
flex: 1; flex: 1;
flex-direction: row; overflow: hidden;
} }
.extra-network-pane .extra-network-tree { .extra-network-pane .extra-network-tree {
flex: 1; flex: 1;
flex-direction: column;
display: flex;
font-size: 1rem; font-size: 1rem;
border: 1px solid var(--block-border-color); border: 1px solid var(--block-border-color);
overflow: clip auto !important;
} }
.extra-network-pane .extra-network-cards { .extra-network-pane .extra-network-cards {
@ -1210,34 +1210,28 @@ body.resizing .resize-handle {
overflow: hidden; overflow: hidden;
} }
.extra-network-pane .extra-network-tree .tree-list .tree-list-container {
flex: 1;
overflow: clip auto !important;
width: 100%;
}
.extra-network-pane .extra-network-cards::-webkit-scrollbar, .extra-network-pane .extra-network-cards::-webkit-scrollbar,
.extra-network-pane .tree-list-container::-webkit-scrollbar { .extra-network-pane .extra-network-tree::-webkit-scrollbar {
background-color: transparent; background-color: transparent;
width: 16px; width: 16px;
} }
.extra-network-pane .extra-network-cards::-webkit-scrollbar-track, .extra-network-pane .extra-network-cards::-webkit-scrollbar-track,
.extra-network-pane .tree-list-container::-webkit-scrollbar-track { .extra-network-pane .extra-network-tree::-webkit-scrollbar-track {
background-color: transparent; background-color: transparent;
background-clip: content-box; background-clip: content-box;
} }
.extra-network-pane .extra-network-cards::-webkit-scrollbar-thumb, .extra-network-pane .extra-network-cards::-webkit-scrollbar-thumb,
.extra-network-pane .tree-list-container::-webkit-scrollbar-thumb { .extra-network-pane .extra-network-tree::-webkit-scrollbar-thumb {
background-color: var(--border-color-primary); background-color: var(--border-color-primary);
border-radius: 16px; border-radius: 16px;
border: 4px solid var(--background-fill-primary); border: 4px solid var(--background-fill-primary);
} }
.extra-network-pane .extra-network-cards::-webkit-scrollbar-button, .extra-network-pane .extra-network-cards::-webkit-scrollbar-button,
.extra-network-pane .tree-list-container::-webkit-scrollbar-button { .extra-network-pane .extra-network-tree::-webkit-scrollbar-button {
display: none; display: none;
} }