fix: not awful scrollbar on windows
This commit is contained in:
parent
c67c66e4fe
commit
9bd2aa4936
3 changed files with 27 additions and 2 deletions
|
@ -34,6 +34,7 @@
|
|||
@import 'component/notice';
|
||||
@import 'component/pagination';
|
||||
@import 'component/placeholder';
|
||||
@import 'component/scrollbar';
|
||||
@import 'component/search';
|
||||
@import 'component/snack-bar';
|
||||
@import 'component/spinner';
|
||||
|
|
|
@ -93,6 +93,8 @@
|
|||
width: var(--header-height);
|
||||
|
||||
svg {
|
||||
stroke: $lbry-black;
|
||||
|
||||
&:only-child {
|
||||
// Header icons are a little different because they are larger
|
||||
top: 0.25rem;
|
||||
|
@ -112,8 +114,7 @@
|
|||
.lbry-icon {
|
||||
height: 2rem;
|
||||
width: 2rem;
|
||||
top: 0.5rem;
|
||||
color: $lbry-white;
|
||||
top: 0.6rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
23
src/ui/scss/component/_scrollbar.scss
Normal file
23
src/ui/scss/component/_scrollbar.scss
Normal file
|
@ -0,0 +1,23 @@
|
|||
::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 5px;
|
||||
|
||||
background-color: transparent;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: $lbry-gray-3;
|
||||
|
||||
html[data-mode='dark'] & {
|
||||
background-color: $lbry-gray-5;
|
||||
}
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:active {
|
||||
background-color: $lbry-teal-3;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background-color: transparent;
|
||||
}
|
Loading…
Reference in a new issue