Skip to content

Commit 8e4bba0

Browse files
committed
💄 update scrollbar styles
1 parent 488ad3e commit 8e4bba0

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

src/app/core/components/sidebar/sidebar.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</div>
88
<ul class="items">
99
<li class="item">
10-
<a routerLink="/" routerLinkActive="active">
10+
<a routerLink="/" routerLinkActive="active" [routerLinkActiveOptions]="{exact: true}">
1111
<i class='bx bx-customize'></i>
1212
<span class="name">Home</span>
1313
</a>

src/app/shared/modals/upload-files/upload-files.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232

3333
&::-webkit-scrollbar-thumb:hover {
34-
background-color: var(--bg-hover-2);
34+
background-color: var(--bg-hover-1);
3535
}
3636
}
3737

src/styles.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,26 @@ body.modal-open {
4040
padding-right: 15px;
4141
}
4242

43+
::-webkit-scrollbar {
44+
width: 7px;
45+
height: 5px;
46+
border: 1px solid var(--bg-2);
47+
}
48+
49+
::-webkit-scrollbar-track {
50+
background: var(--bg-2);
51+
}
52+
53+
::-webkit-scrollbar-thumb {
54+
background-color: var(--bg-hover-1);
55+
border-radius: 20px;
56+
}
57+
58+
::-webkit-scrollbar-thumb:hover {
59+
background-color: var(--bg-hover-1);
60+
}
61+
62+
4363
.wrapper {
4464

4565
& .container {

0 commit comments

Comments
 (0)