mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-05-17 02:09:09 +08:00
fix(ui): add vertical spacing between directory settings sections
Replace React Fragment with a div using space-y-6 to add proper vertical spacing between the app config directory and directory override sections in Settings > Advanced > Directory Settings.
This commit is contained in:
@@ -38,7 +38,7 @@ export function DirectorySettings({
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="space-y-6">
|
||||
{/* CC Switch 配置目录 - 独立区块 */}
|
||||
<section className="space-y-4">
|
||||
<header className="space-y-1">
|
||||
@@ -131,7 +131,7 @@ export function DirectorySettings({
|
||||
onReset={() => onResetDirectory("opencode")}
|
||||
/>
|
||||
</section>
|
||||
</>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user