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

@@ -14,6 +14,7 @@ import { buildHeaderObject, headersToEntries } from '@/utils/headers';
import { entriesToModels } from '@/components/ui/ModelInputList';
import { excludedModelsToText, parseExcludedModels } from '@/components/providers/utils';
import type { ProviderFormState } from '@/components/providers';
import layoutStyles from './AiProvidersEditLayout.module.scss';
type LocationState = { fromAiProviders?: boolean } | null;
@@ -193,6 +194,7 @@ export function AiProvidersCodexEditPage() {
return (
<SecondaryScreenShell
ref={swipeRef}
contentClassName={layoutStyles.content}
title={title}
onBack={handleBack}
backLabel={t('common.back')}