diff --git a/web/src/components/Settings/SSOSection.tsx b/web/src/components/Settings/SSOSection.tsx index fadedeed..d7bdccf0 100644 --- a/web/src/components/Settings/SSOSection.tsx +++ b/web/src/components/Settings/SSOSection.tsx @@ -43,11 +43,11 @@ const SSOSection = () => { return (
-
- {t("setting.sso-section.sso-list")} +
+ {t("setting.sso-section.sso-list")}
diff --git a/web/src/components/Settings/SystemSection.tsx b/web/src/components/Settings/SystemSection.tsx index 5c7e4649..afb2a4ab 100644 --- a/web/src/components/Settings/SystemSection.tsx +++ b/web/src/components/Settings/SystemSection.tsx @@ -231,9 +231,9 @@ const SystemSection = () => { handleDisablePublicMemosChanged(event.target.checked)} />
-
- {t("setting.system-section.max-upload-size")} - +
+ {t("setting.system-section.max-upload-size")} +
{
-
- {t("setting.system-section.openai-api-key")} +
+ {t("setting.system-section.openai-api-key")}
diff --git a/web/src/components/kit/HelpButton.tsx b/web/src/components/kit/HelpButton.tsx index a336f17d..1b0d56cd 100644 --- a/web/src/components/kit/HelpButton.tsx +++ b/web/src/components/kit/HelpButton.tsx @@ -174,7 +174,7 @@ const HelpButton = (props: HelpProps): JSX.Element => { const { t } = useTranslation(); const color = props.color ?? "neutral"; const variant = props.variant ?? "plain"; - const className = props.className ?? "!-mt-1"; + const className = props.className ?? ""; const hintPlacement = props.hintPlacement ?? "top"; const iconButtonSize = "sm"; @@ -232,12 +232,12 @@ const HelpButton = (props: HelpProps): JSX.Element => { const sizePx = (() => { switch (props.size) { case "sm": - return 16; + return 14; case "lg": - return 48; + return 18; case "md": default: - return 24; + return 16; } })();