Fix scrollbar styles

This commit is contained in:
Andrew Kingston 2024-12-11 11:20:53 +00:00
parent 80b8d1c23c
commit 1250aa666f
No known key found for this signature in database
2 changed files with 3 additions and 5 deletions

View File

@ -43,12 +43,11 @@
flex-direction: row; flex-direction: row;
justify-content: flex-start; justify-content: flex-start;
align-items: stretch; align-items: stretch;
overflow-y: scroll !important;
flex: 1 1 auto; flex: 1 1 auto;
overflow-x: hidden; overflow-x: hidden;
} }
.main { .main {
overflow: auto; overflow-y: scroll;
} }
.content { .content {
display: flex; display: flex;

View File

@ -61,7 +61,7 @@ a {
height: 8px; height: 8px;
} }
::-webkit-scrollbar-track { ::-webkit-scrollbar-track {
background: var(--spectrum-alias-background-color-default); background: transparent;
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
background-color: var(--spectrum-global-color-gray-400); background-color: var(--spectrum-global-color-gray-400);
@ -71,6 +71,5 @@ a {
background: var(--spectrum-alias-background-color-default); background: var(--spectrum-alias-background-color-default);
} }
html * { html * {
scrollbar-color: var(--spectrum-global-color-gray-400) scrollbar-color: var(--spectrum-global-color-gray-400) transparent;
var(--spectrum-alias-background-color-default);
} }