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() {
return this.allSectionsExpanded
? "discourse-chevron-collapse"
: "discourse-chevron-expand";
return this.allSectionsExpanded ? "angle-double-up" : "angle-double-down";
}
@action

View File

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