mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Set scrollbar colors as global styles (#1484)
* Setting global webkit-scrollbar styles Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Removing usage of custom-scrollbar mixin Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Set overflow:auto on .Table Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Fixing .drawer-content paddings Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com> * Cleaning up Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
1 parent
29ea0c8404
commit
2da598b66e
23 files changed
+51
-144
No files matched your search
@@ -33,7 +33,7 @@
|
||||
}
|
||||
|
||||
> .content-wrapper {
|
||||
@include custom-scrollbar-themed;
|
||||
overflow: auto;
|
||||
padding: $spacing * 2;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@@ -19,11 +19,7 @@
|
||||
|
||||
&.pinned {
|
||||
.sidebar-nav {
|
||||
@include custom-scrollbar;
|
||||
|
||||
.theme-light & {
|
||||
@include custom-scrollbar(dark);
|
||||
}
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,8 +59,6 @@
|
||||
}
|
||||
|
||||
.sidebar-nav {
|
||||
@include hidden-scrollbar;
|
||||
|
||||
padding: $padding / 1.5 0;
|
||||
|
||||
.Icon {
|
||||
|
||||
@@ -9,13 +9,8 @@
|
||||
|
||||
|
||||
main {
|
||||
@include custom-scrollbar;
|
||||
$spacing: $margin * 2;
|
||||
|
||||
.theme-light & {
|
||||
@include custom-scrollbar(dark);
|
||||
}
|
||||
|
||||
grid-area: main;
|
||||
overflow-y: scroll; // always reserve space for scrollbar (17px)
|
||||
overflow-x: auto;
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
grid-template-columns: 1fr 40%;
|
||||
|
||||
> * {
|
||||
@include custom-scrollbar-themed;
|
||||
--flex-gap: #{$spacing};
|
||||
overflow: auto;
|
||||
padding: $spacing;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user