Add scrollbar width setting to HideScrollbar

This commit is contained in:
2023-10-13 11:33:14 +08:00
parent a8129e8aff
commit 91d5480780
2 changed files with 19 additions and 5 deletions

View File

@@ -48,19 +48,25 @@
.vertical-scrollbar {
padding: 12px 4px;
width: 16px;
height: 100%;
left: 100%;
top: 0;
transform: translateX(-100%);
.box {
width: 8px;
}
}
.horizontal-scrollbar {
padding: 4px 12px;
width: 100%;
height: 16px;
left: 0;
top: 100%;
transform: translateY(-100%);
.box {
height: 8px;
}
}
}