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

revert removing namespace icons and selected background colour change

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2020-09-25 11:22:27 -04:00
parent 39cdb9e4ff
commit 4e986b85cc
3 changed files with 6 additions and 1 deletions

View File

@ -22,6 +22,10 @@
}
}
.Icon.always-visible {
visibility: visible;
}
.Icon {
visibility: hidden;
}

View File

@ -99,6 +99,7 @@ export class NamespaceStore extends KubeObjectStore<Namespace> {
value: namespace.getName(),
label: (
<div className="flex gaps align-center">
<Icon small material="layers" className="always-visible" />
<span>{namespace.getName()}</span>
<Icon small material="check" className="box right" />
</div>

View File

@ -3,7 +3,7 @@
html {
$menuBackgroundColor: $contentColor;
$menuSelectedOptionBgc: $selectedBackground;
$menuSelectedOptionBgc: $layoutBackground;
--select-menu-bgc: #{$menuBackgroundColor};
--select-menu-border-color: #{$halfGray};