fix: fix CC Switch model selector (#5515)

This commit is contained in:
Seefs
2026-06-15 16:35:18 +08:00
committed by GitHub
parent aeea3fae9b
commit 9bc1a53dea
6 changed files with 8 additions and 6 deletions
@@ -151,7 +151,9 @@ export function CCSwitchDialog(props: Props) {
title={t('Import to CC Switch')}
contentClassName='sm:max-w-md'
contentHeight='auto'
bodyClassName='space-y-4'
bodyClassName={
currentConfig.modelFields.length === 1 ? 'space-y-4 pb-52' : 'space-y-4'
}
footer={
<>
<Button variant='outline' onClick={() => props.onOpenChange(false)}>