mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix endless size issue with NamespaceSelectFilter
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
0f54aac375
commit
821169738c
@ -4,14 +4,17 @@
|
||||
}
|
||||
}
|
||||
|
||||
.NamespaceSelectFilterParent {
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
.NamespaceSelectFilter {
|
||||
--gradientColor: var(--select-menu-bgc);
|
||||
|
||||
.Select {
|
||||
&__placeholder {
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: scroll!important;
|
||||
overflow: scroll hidden!important;
|
||||
text-overflow: unset!important;
|
||||
margin-left: -8px;
|
||||
padding-left: 8px;
|
||||
@ -67,4 +70,4 @@
|
||||
.Icon {
|
||||
margin-right: $margin * 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -29,6 +29,7 @@ const NonInjectedNamespaceSelectFilter = observer(({ model, id }: Dependencies &
|
||||
onKeyUp={model.onKeyUp}
|
||||
onKeyDown={model.onKeyDown}
|
||||
onClick={model.onClick}
|
||||
className="NamespaceSelectFilterParent"
|
||||
>
|
||||
<Select<string | SelectAllNamespaces, NamespaceSelectFilterOption, true>
|
||||
id={id}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user