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:
John Cowen 2021-09-24 18:05:22 +01:00 committed by GitHub
parent b19e14e8a8
commit a3f45ad70c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 10 deletions

4
.changelog/11130.txt Normal file
View File

@ -0,0 +1,4 @@
```release-note:improvement
ui: Removed informational panel from the namespace selector menu when editing
namespaces
```

View File

@ -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

View File

@ -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);