Skip to content

A platform for community discussion. Free, open, simple.

UX: Styling changes to header-actions button (#36877)

Jordan Vidrine5bf4f145c246
diff --git a/app/assets/stylesheets/common/base/sidebar-section.scss b/app/assets/stylesheets/common/base/sidebar-section.scss
index ecdcc77d86d..5b46ff836f2 100644
--- a/app/assets/stylesheets/common/base/sidebar-section.scss
+++ b/app/assets/stylesheets/common/base/sidebar-section.scss
@@ -29,10 +29,10 @@
opacity: 0;
&:hover {
- background: var(--d-sidebar-highlight-hover-background);
+ background: var(--d-sidebar-highlight-background);
.d-icon {
- color: var(--d-sidebar-highlight-hover-icon);
+ color: var(--d-sidebar-highlight-color);
}
}
diff --git a/frontend/discourse/app/components/sidebar/section.gjs b/frontend/discourse/app/components/sidebar/section.gjs
index 5ab751a1336..fe679a560cf 100644
--- a/frontend/discourse/app/components/sidebar/section.gjs
+++ b/frontend/discourse/app/components/sidebar/section.gjs
@@ -212,7 +212,7 @@ export default class SidebarSection extends Component {
{{on "click" headerAction.action}}
type="button"
title={{headerAction.title}}
- class="sidebar-section-header-button"
+ class="sidebar-section-header-button btn-icon btn-flat"
>
{{icon @headerActionsIcon}}
</button>