Increase base scrollbar size

This commit is contained in:
jeffvli
2022-12-14 19:18:16 -08:00
parent b67f224a00
commit cea86d69e8
2 changed files with 29 additions and 3 deletions
@@ -13,7 +13,7 @@ const StyledScrollArea = styled(MantineScrollArea)`
}
& .mantine-ScrollArea-scrollbar {
width: 8px;
width: 12px;
padding: 0;
background: var(--scrollbar-track-bg);
}
+28 -2
View File
@@ -46,8 +46,8 @@ html {
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
width: 12px;
height: 12px;
}
::-webkit-scrollbar-corner {
@@ -91,6 +91,32 @@ button {
display: none; /* Safari and Chrome */
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
.mantine-ScrollArea-thumb[data-state="visible"] {
animation: fadeIn 0.3s forwards;
}
.mantine-ScrollArea-scrollbar[data-state="hidden"] {
animation: fadeOut 0.2s forwards;
}
@font-face {
font-family: "AnekTamil";
src: url("../fonts/AnekTamil-Regular.ttf") format("truetype");