Theming the scrollbar of the body

This commit is contained in:
Zoe Roux 2020-10-31 04:05:12 +01:00
parent 0ed1b8afc0
commit 64a28a2708
3 changed files with 39 additions and 10 deletions

View File

@ -108,3 +108,32 @@ input::-webkit-search-cancel-button
{ {
outline: none; outline: none;
} }
main
{
max-height: calc(100vh - 68px) !important;
&:last-child
{
display: block;
overflow-y: auto;
scrollbar-color: #999 transparent;
&::-webkit-scrollbar
{
width: 8px;
background: transparent;
}
&::-webkit-scrollbar-thumb
{
background-color: #999;
&:host-context(.hoverEnabled) &:hover
{
background-color: rgb(134, 127, 127);
}
}
}
}