mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fixing cropped long namespace names (#3678)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
c508596ded
commit
e2812a5bcd
@ -45,3 +45,22 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.NamespaceSelectFilterMenu {
|
||||
right: 0;
|
||||
|
||||
.Select {
|
||||
&__menu-list {
|
||||
max-width: 400px;
|
||||
}
|
||||
|
||||
&__option {
|
||||
white-space: normal;
|
||||
word-break: break-all;
|
||||
}
|
||||
}
|
||||
|
||||
.Icon {
|
||||
margin-right: $margin / 2;
|
||||
}
|
||||
}
|
||||
@ -180,6 +180,7 @@ export class NamespaceSelectFilter extends React.Component<SelectProps> {
|
||||
onBlur={this.reset}
|
||||
formatOptionLabel={this.formatOptionLabel}
|
||||
className="NamespaceSelectFilter"
|
||||
menuClass="NamespaceSelectFilterMenu"
|
||||
sort={(left, right) => +this.selected.has(right.value) - +this.selected.has(left.value)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user