diff options
author | Sj-Si <sjw.jetty@gmail.com> | 2024-01-21 16:27:24 +0000 |
---|---|---|
committer | Sj-Si <sjw.jetty@gmail.com> | 2024-01-21 16:27:24 +0000 |
commit | d7d3166a2749fe04f0ba1d8d0f88c8e8819a379d (patch) | |
tree | 340656aa7533318c91ca89153c243203538b92d9 | |
parent | b67a49441fc420f37c6bef1172a0b1ad5c42f30f (diff) | |
download | stable-diffusion-webui-gfx803-d7d3166a2749fe04f0ba1d8d0f88c8e8819a379d.tar.gz stable-diffusion-webui-gfx803-d7d3166a2749fe04f0ba1d8d0f88c8e8819a379d.tar.bz2 stable-diffusion-webui-gfx803-d7d3166a2749fe04f0ba1d8d0f88c8e8819a379d.zip |
Fix broken scrollbars
-rw-r--r-- | html/extra-networks-tree.html | 4 | ||||
-rw-r--r-- | style.css | 20 |
2 files changed, 8 insertions, 16 deletions
diff --git a/html/extra-networks-tree.html b/html/extra-networks-tree.html index 39649e86..beec888c 100644 --- a/html/extra-networks-tree.html +++ b/html/extra-networks-tree.html @@ -1,5 +1,3 @@ <div class="tree-list"> - <div class="tree-list-container"> - {tree} - </div> + {tree} </div>
\ No newline at end of file @@ -1179,20 +1179,20 @@ body.resizing .resize-handle { resize: vertical;
min-height: 52rem;
flex-direction: column;
+ overflow: hidden;
}
.extra-network-pane .extra-network-pane-content {
display: flex;
flex: 1;
- flex-direction: row;
+ overflow: hidden;
}
.extra-network-pane .extra-network-tree {
flex: 1;
- flex-direction: column;
- display: flex;
font-size: 1rem;
border: 1px solid var(--block-border-color);
+ overflow: clip auto !important;
}
.extra-network-pane .extra-network-cards {
@@ -1210,34 +1210,28 @@ body.resizing .resize-handle { 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 .tree-list-container::-webkit-scrollbar {
+.extra-network-pane .extra-network-tree::-webkit-scrollbar {
background-color: transparent;
width: 16px;
}
.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-clip: content-box;
}
.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);
border-radius: 16px;
border: 4px solid var(--background-fill-primary);
}
.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;
}
|