Skip to content

Commit

Permalink
fix(icon): use new compound icon for help in leftpanel
Browse files Browse the repository at this point in the history
  • Loading branch information
marc.sirisak committed Sep 26, 2024
1 parent e5cdce6 commit c6a644e
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 c6a644e

Please sign in to comment.