Skip to content

Commit

Permalink
Merge pull request #1113 from tchapgouv/1112-regression-icon-aide
Browse files Browse the repository at this point in the history
fix(icon): use new compound icon for help in leftpanel
  • Loading branch information
MarcWadai authored Sep 30, 2024
2 parents e5cdce6 + c6a644e commit b1d604e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions res/css/common/_TchapLeftPanel.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@

.tc_sidebar_quick_faq {
color: var(--sidebar-button-color);

&::before {
mask-image: url("@vector-im/compound-design-tokens/icons/help-solid.svg") !important;
background: var(--sidebar-button-color);
}
}
2 changes: 1 addition & 1 deletion src/tchap/components/views/common/QuickFaq.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const QuickFaqButton: React.FC<{
return (
<>
<AccessibleButton
className={classNames(["mx_QuickSettingsButton", { expanded: !isPanelCollapsed }, "mx_UserSettingsDialog_helpIcon", "tc_sidebar_quick_faq"])}
className={classNames(["mx_QuickSettingsButton", { expanded: !isPanelCollapsed }, "tc_sidebar_quick_faq"])}
onClick={openMenu}
aria-label={_t("common|help")}
title={isPanelCollapsed ? _t("common|help") : undefined}
Expand Down

0 comments on commit b1d604e

Please sign in to comment.