Skip to content

Commit

Permalink
feat(uniquely/soffit-site-pwa): scroll bar
Browse files Browse the repository at this point in the history
  • Loading branch information
MM25Zamanian authored and AliMD committed Jan 18, 2023
1 parent eca14c8 commit 4d11e08
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions uniquely/soffit-site-pwa/src/page-home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,29 @@ export class AlwatrPageHome extends AlwatrSmartElement {
overflow-y: auto;
}
:host::-webkit-scrollbar {
width: var(--sys-scrollbar-size);
height: var(--sys-scrollbar-size);
}
:host::-webkit-scrollbar-corner,
:host::-webkit-scrollbar-track {
background-color: var(--sys-scrollbar-background);
}
:host::-webkit-scrollbar-track {
margin: var(--sys-spacing-track);
}
:host::-webkit-scrollbar-thumb {
background-color: var(--sys-scrollbar-color);
border-radius: var(--sys-scrollbar-radius);
}
:host(:hover)::-webkit-scrollbar-thumb {
background-color: var(--sys-scrollbar-color-hover);
}
section {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 4d11e08

Please sign in to comment.