mirror of
https://github.com/penpot/penpot.git
synced 2025-02-23 07:16:07 -05:00
🐛 Fix scrollbar styles in themes dropdown
This commit is contained in:
parent
f83cdf2f5d
commit
89dc917cb9
2 changed files with 4 additions and 2 deletions
|
@ -873,7 +873,7 @@
|
||||||
top: $s-32;
|
top: $s-32;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-height: $s-300;
|
max-height: var(--menu-max-height, $s-300);
|
||||||
padding: $s-2;
|
padding: $s-2;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
margin-top: $s-1;
|
margin-top: $s-1;
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
--custom-select-bg-color: var(--menu-background-color);
|
--custom-select-bg-color: var(--menu-background-color);
|
||||||
--custom-select-icon-color: var(--color-foreground-secondary);
|
--custom-select-icon-color: var(--color-foreground-secondary);
|
||||||
--custom-select-text-color: var(--menu-foreground-color);
|
--custom-select-text-color: var(--menu-foreground-color);
|
||||||
@extend .new-scrollbar;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr auto;
|
grid-template-columns: 1fr auto;
|
||||||
|
@ -124,5 +123,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-portal {
|
.dropdown-portal {
|
||||||
|
--menu-max-height: #{$s-400};
|
||||||
|
@extend .new-scrollbar;
|
||||||
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue