[UPdate] Main Page: Side bar. Now, scrollable.

This commit is contained in:
Sakamoto Shiina
2024-09-11 13:46:45 +09:00
parent 8345945bdc
commit 7068167866
2 changed files with 27 additions and 4 deletions

View File

@@ -1,3 +1,24 @@
.scroll_container {
width: calc(100% + 0.8rem);
overflow-y: scroll;
overflow-x: hidden;
margin-bottom: calc(2rem + 1.6rem + 2rem); // config button's sizes (svg + padding + margin).
&::-webkit-scrollbar {
width: 0.8rem;
}
&::-webkit-scrollbar-track {
background-color: var(--dark_888_color);
border-radius: 0.4rem;
}
&::-webkit-scrollbar-thumb {
background-color: var(--dark_800_color);
border-radius: 0.4rem;
}
}
.container {
position: relative;
min-width: 23rem;