mirror of https://github.com/status-im/consul.git
ui: Remove info panel from the nspace menu when editing nspaces (#11130)
* ui: Remove info panel form the nspace menu when editing nspaces
This commit is contained in:
parent
01c9dc5728
commit
581357c32a
|
@ -0,0 +1,4 @@
|
||||||
|
```release-note:improvement
|
||||||
|
ui: Removed informational panel from the namespace selector menu when editing
|
||||||
|
namespaces
|
||||||
|
```
|
|
@ -115,13 +115,6 @@
|
||||||
<BlockSlot @name="trigger">
|
<BlockSlot @name="trigger">
|
||||||
{{@nspace}}
|
{{@nspace}}
|
||||||
</BlockSlot>
|
</BlockSlot>
|
||||||
{{#if (is-href 'dc.nspaces')}}
|
|
||||||
<BlockSlot @name="header">
|
|
||||||
<p>
|
|
||||||
Namespaces themselves are not namespaced, so switching will not change the current view.
|
|
||||||
</p>
|
|
||||||
</BlockSlot>
|
|
||||||
{{/if}}
|
|
||||||
<BlockSlot @name="menu">
|
<BlockSlot @name="menu">
|
||||||
{{#let components.MenuItem components.MenuSeparator as |MenuItem MenuSeparator|}}
|
{{#let components.MenuItem components.MenuSeparator as |MenuItem MenuSeparator|}}
|
||||||
<DataSource
|
<DataSource
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
%main-nav-horizontal {
|
%main-nav-horizontal {
|
||||||
@extend %theme-dark;
|
@extend %theme-dark;
|
||||||
}
|
}
|
||||||
%main-nav-vertical .nspaces .menu-panel > div {
|
|
||||||
@extend %theme-light;
|
|
||||||
}
|
|
||||||
%main-nav-vertical .menu-panel a:hover,
|
%main-nav-vertical .menu-panel a:hover,
|
||||||
%main-nav-vertical .menu-panel a:focus {
|
%main-nav-vertical .menu-panel a:focus {
|
||||||
background-color: var(--blue-500);
|
background-color: var(--blue-500);
|
||||||
|
|
Loading…
Reference in New Issue