remove some padding/margin, style scrollbars

This commit is contained in:
sawka 2024-06-03 22:18:54 -07:00
parent 0164851cf6
commit 80f9447c21
4 changed files with 25 additions and 2 deletions

View File

@ -40,5 +40,6 @@
width: 100%;
overflow: hidden;
min-height: 0;
padding: 5px;
}
}

View File

@ -18,8 +18,6 @@
height: 100%;
overflow: hidden;
border: 1px solid var(--border-color);
margin: 5px;
border-radius: 4px;
padding: 5px;
}
}

View File

@ -15,6 +15,25 @@ body {
overflow: hidden;
}
*::-webkit-scrollbar {
width: 4px;
height: 4px;
}
*::-webkit-scrollbar-track {
background-color: var(--scrollbar-background-color) !important;
}
*::-webkit-scrollbar-thumb {
background-color: var(--scrollbar-thumb-color) !important;
border-radius: 4px;
margin: 0 1px 0 1px;
}
*::-webkit-scrollbar-thumb:hover {
background-color: var(--scrollbar-thumb-hover-color) !important;
}
.flex-spacer {
flex-grow: 1;
}

View File

@ -40,4 +40,9 @@
/* modals colors */
--modal-bg-color: var(--app-bg-color);
--modal-header-bottom-border-color: rgba(241, 246, 243, 0.15);
/* scrollbar colors */
--scrollbar-background-color: var(--app-bg-color);
--scrollbar-thumb-color: rgba(255, 255, 255, 0.3);
--scrollbar-thumb-hover-color: rgba(255, 255, 255, 0.5);
}