0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-24 22:05:56 -05:00

Merge pull request #826 from logto-io/charles-log-2353-refine-scrollbar-styles-and-positions

refactor(console): refine scrollbar styles and positions
This commit is contained in:
Charles Zhao 2022-05-15 12:54:07 +08:00 committed by GitHub
commit 2a642f4e21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View file

@ -10,12 +10,12 @@
.content { .content {
flex-grow: 1; flex-grow: 1;
display: flex; display: flex;
padding-right: _.unit(6);
margin-bottom: _.unit(6); margin-bottom: _.unit(6);
overflow: hidden; overflow: hidden;
.main { .main {
flex-grow: 1; flex-grow: 1;
padding-right: _.unit(6);
overflow-y: auto; overflow-y: auto;
} }
} }

View file

@ -55,3 +55,16 @@ table {
} }
} }
} }
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-thumb {
background: var(--color-neutral-variant-80);
border-radius: 4px;
}
::-webkit-scrollbar-track {
background: transparent;
}