1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 19:53:43 +00:00

tidy up scss

This commit is contained in:
Thomas Rittson
2021-05-21 14:06:26 +10:00
parent 94ee6c1ab7
commit 2b3ae50ed9
2 changed files with 20 additions and 41 deletions

View File

@@ -100,7 +100,7 @@ main {
height: 100%;
}
content::-webkit-scrollbar {
content::-webkit-scrollbar, cdk-virtual-scroll-viewport::-webkit-scrollbar {
width: 10px;
height: 10px;
}
@@ -109,7 +109,13 @@ content::-webkit-scrollbar-track {
background-color: transparent;
}
content::-webkit-scrollbar-thumb {
cdk-virtual-scroll-viewport::-webkit-scrollbar-track {
@include themify($themes) {
background-color: themed('backgroundColor');
}
}
content::-webkit-scrollbar-thumb, cdk-virtual-scroll-viewport::-webkit-scrollbar-thumb {
border-radius: 10px;
margin-right: 1px;
@@ -394,3 +400,15 @@ content {
}
}
}
// cdk-virtual-scroll
.cdk-virtual-scroll-viewport {
width: 100%;
height: 100%;
overflow-y: auto;
overflow-x: hidden;
}
.cdk-virtual-scroll-content-wrapper {
width: 100%;
}