diff --git a/client/src/Components/design-elements/Icon.tsx b/client/src/Components/design-elements/Icon.tsx index 95e68826b..3832cb764 100644 --- a/client/src/Components/design-elements/Icon.tsx +++ b/client/src/Components/design-elements/Icon.tsx @@ -8,7 +8,10 @@ interface IconProps { color?: string; } -const Icon = ({ icon: Icon, size = 20, strokeWidth = 1.5, color }: IconProps) => { +// 16 is the house size: 17 call sites ask for it explicitly against 2 for 20, +// and the sidebar clamps to 16 in CSS. A 20px default put icons above the cap +// height of the 13px text they sit beside. +const Icon = ({ icon: Icon, size = 16, strokeWidth = 1.5, color }: IconProps) => { return ( }} sx={menuItemSx} > - + {mode === "light" ? t("pages.settings.form.ui.option.theme.dark") : t("pages.settings.form.ui.option.theme.light")} diff --git a/client/src/Pages/Account/components/HeaderTeamControls.tsx b/client/src/Pages/Account/components/HeaderTeamControls.tsx index 51fea25b6..b3c0f3293 100644 --- a/client/src/Pages/Account/components/HeaderTeamControls.tsx +++ b/client/src/Pages/Account/components/HeaderTeamControls.tsx @@ -59,7 +59,12 @@ export const HeaderTeamControls = ({