mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +08:00
Fix broken scrollbars
This commit is contained in:
parent
b67a49441f
commit
d7d3166a27
@ -1,5 +1,3 @@
|
||||
<div class="tree-list">
|
||||
<div class="tree-list-container">
|
||||
{tree}
|
||||
</div>
|
||||
{tree}
|
||||
</div>
|
20
style.css
20
style.css
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user