style: add shared content width constraint to AI provider edit pages

This commit is contained in:
LTbinglingfeng
2026-01-30 23:35:41 +08:00
parent 129d89cf67
commit 3d83d0bfe2
8 changed files with 22 additions and 4 deletions

View File

@@ -13,6 +13,7 @@ import type { GeminiKeyConfig } from '@/types';
import { buildHeaderObject, headersToEntries } from '@/utils/headers';
import { excludedModelsToText, parseExcludedModels } from '@/components/providers/utils';
import type { GeminiFormState } from '@/components/providers';
import layoutStyles from './AiProvidersEditLayout.module.scss';
type LocationState = { fromAiProviders?: boolean } | null;
@@ -176,6 +177,7 @@ export function AiProvidersGeminiEditPage() {
return (
<SecondaryScreenShell
ref={swipeRef}
contentClassName={layoutStyles.content}
title={title}
onBack={handleBack}
backLabel={t('common.back')}