UX: Change admin sidebar expand/collapse all icon (#27120)

This commit is contained in:
Ella E 2024-05-21 17:07:07 -06:00 committed by GitHub
parent 25060fbabd
commit 4334fc9bd3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

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

View File

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