From 04b4483d7d8b388675b5445c3250d5dae2cd3af7 Mon Sep 17 00:00:00 2001 From: yyhhyyyyyy Date: Tue, 19 May 2026 16:14:08 +0800 Subject: [PATCH] fix(web): normalize model detail tabs layout (#4938) --- web/default/src/features/dashboard/index.tsx | 2 +- web/default/src/features/models/index.tsx | 2 +- .../src/features/pricing/components/model-details.tsx | 6 +++--- .../features/profile/components/profile-settings-card.tsx | 2 +- web/default/src/features/usage-logs/index.tsx | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/web/default/src/features/dashboard/index.tsx b/web/default/src/features/dashboard/index.tsx index 399221b0..4e300be2 100644 --- a/web/default/src/features/dashboard/index.tsx +++ b/web/default/src/features/dashboard/index.tsx @@ -236,7 +236,7 @@ export function Dashboard() {
{showSectionTabs ? ( - + {visibleSections.map((section) => ( {t(SECTION_META[section].titleKey)} diff --git a/web/default/src/features/models/index.tsx b/web/default/src/features/models/index.tsx index e0f179a2..202005bb 100644 --- a/web/default/src/features/models/index.tsx +++ b/web/default/src/features/models/index.tsx @@ -142,7 +142,7 @@ function ModelsContent() {
- + {MODELS_SECTION_IDS.map((section) => ( {t(SECTION_META[section].titleKey)} diff --git a/web/default/src/features/pricing/components/model-details.tsx b/web/default/src/features/pricing/components/model-details.tsx index 2746b221..123ddbeb 100644 --- a/web/default/src/features/pricing/components/model-details.tsx +++ b/web/default/src/features/pricing/components/model-details.tsx @@ -920,17 +920,17 @@ export function ModelDetailsContent(props: ModelDetailsContentProps) { - + {TAB_VALUES.map((value) => { const Icon = TAB_META[value].icon return ( - {t(TAB_META[value].labelKey)} + {t(TAB_META[value].labelKey)} ) })} diff --git a/web/default/src/features/profile/components/profile-settings-card.tsx b/web/default/src/features/profile/components/profile-settings-card.tsx index 1d5eae4c..160386b1 100644 --- a/web/default/src/features/profile/components/profile-settings-card.tsx +++ b/web/default/src/features/profile/components/profile-settings-card.tsx @@ -69,7 +69,7 @@ export function ProfileSettingsCard({ icon={} > - + {showTaskSwitcher && ( - + {visibleSections.map((section) => ( {t(SECTION_META[section].titleKey)}