1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fine-tuning select to show long items

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2020-09-04 09:28:41 +03:00
parent 8dc7276164
commit 647b76d978
3 changed files with 7 additions and 2 deletions

View File

@ -25,7 +25,6 @@
.version { .version {
.Select { .Select {
width: 80px;
min-width: 80px; min-width: 80px;
white-space: nowrap; white-space: nowrap;
} }

View File

@ -5,7 +5,7 @@
} }
&.chart-version { &.chart-version {
min-width: 80px; min-width: 130px;
} }
} }
} }

View File

@ -70,11 +70,15 @@ html {
&__menu { &__menu {
background: var(--select-menu-bgc); background: var(--select-menu-bgc);
box-shadow: inset 0 0 0 1px var(--select-menu-border-color); box-shadow: inset 0 0 0 1px var(--select-menu-border-color);
width: max-content;
min-width: 100%;
&-list { &-list {
@include custom-scrollbar; @include custom-scrollbar;
padding-right: 1px; padding-right: 1px;
padding-left: 1px; padding-left: 1px;
width: max-content;
min-width: 100%;
} }
&-notice { &-notice {
@ -83,6 +87,8 @@ html {
} }
&__option { &__option {
white-space: nowrap;
&:active { &:active {
background: $primary; background: $primary;
} }