mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-26 07:22:10 -05:00
fix: apply reasonable defaults to all scrollbar thumbs
This commit is contained in:
parent
7496f484e1
commit
6693f826fd
3 changed files with 5 additions and 3 deletions
|
@ -39,8 +39,8 @@ const StatusBar = styled.div`
|
|||
gap: 14px;
|
||||
|
||||
.button {
|
||||
border: 1px solid white;
|
||||
padding: 5px;
|
||||
border: 1px solid white;
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
`;
|
||||
|
|
|
@ -37,8 +37,6 @@ const ChannelMain = styled.div`
|
|||
flex-direction: row;
|
||||
|
||||
> * > ::-webkit-scrollbar-thumb {
|
||||
min-height: 100px; //TOFIX: add this to all scrollbars so they do not disappear
|
||||
width: 4px;
|
||||
background-clip: content-box;
|
||||
border-top: 48px solid transparent;
|
||||
}
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
min-height: 15px;
|
||||
min-width: 15px;
|
||||
|
||||
background-clip: content-box;
|
||||
background: var(--scrollbar-thumb);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue