Skip to content

Commit 7634c76

Browse files
committed
style: IndependentPanel scrollbar
1 parent 39dc01b commit 7634c76

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/pages/IndependentPanel/styles.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,19 @@
5151
background-color: var(--theme-color);
5252
transition: width 0.3s, min-width 0.3s;
5353
padding: 10px;
54+
55+
::-webkit-scrollbar {
56+
background-color: var(--theme-color);
57+
width: 9px;
58+
}
59+
::-webkit-scrollbar-thumb {
60+
background-color: var(--theme-border-color);
61+
border-radius: 20px;
62+
border: transparent;
63+
}
64+
::-webkit-scrollbar-corner {
65+
background: transparent;
66+
}
5467
}
5568

5669
.chat-sidebar.collapsed {

0 commit comments

Comments
 (0)