mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Change admin sidebar expand/collapse all icon (#27120)
This commit is contained in:
parent
25060fbabd
commit
4334fc9bd3
@ -23,9 +23,7 @@ export default class ToggleAllSections extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get icon() {
|
get icon() {
|
||||||
return this.allSectionsExpanded
|
return this.allSectionsExpanded ? "angle-double-up" : "angle-double-down";
|
||||||
? "discourse-chevron-collapse"
|
|
||||||
: "discourse-chevron-expand";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
@ -363,6 +363,7 @@
|
|||||||
.sidebar-admin-header__row {
|
.sidebar-admin-header__row {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
align-items: baseline;
|
||||||
margin: 0 var(--d-sidebar-row-horizontal-padding) 0
|
margin: 0 var(--d-sidebar-row-horizontal-padding) 0
|
||||||
var(--d-sidebar-row-horizontal-padding);
|
var(--d-sidebar-row-horizontal-padding);
|
||||||
color: var(--d-sidebar-link-color);
|
color: var(--d-sidebar-link-color);
|
||||||
@ -376,5 +377,6 @@
|
|||||||
color: var(--d-sidebar-link-color);
|
color: var(--d-sidebar-link-color);
|
||||||
svg {
|
svg {
|
||||||
width: 0.75em;
|
width: 0.75em;
|
||||||
|
height: 0.85em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user