mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00: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() {
|
||||
return this.allSectionsExpanded
|
||||
? "discourse-chevron-collapse"
|
||||
: "discourse-chevron-expand";
|
||||
return this.allSectionsExpanded ? "angle-double-up" : "angle-double-down";
|
||||
}
|
||||
|
||||
@action
|
||||
|
@ -363,6 +363,7 @@
|
||||
.sidebar-admin-header__row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
margin: 0 var(--d-sidebar-row-horizontal-padding) 0
|
||||
var(--d-sidebar-row-horizontal-padding);
|
||||
color: var(--d-sidebar-link-color);
|
||||
@ -376,5 +377,6 @@
|
||||
color: var(--d-sidebar-link-color);
|
||||
svg {
|
||||
width: 0.75em;
|
||||
height: 0.85em;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user