diff --git a/src/web/features/settings/index.tsx b/src/web/features/settings/index.tsx index 21961e2..760d779 100644 --- a/src/web/features/settings/index.tsx +++ b/src/web/features/settings/index.tsx @@ -51,8 +51,15 @@ export function SettingsPage() { return ( -
- + + handleThemeChange(parseThemePreference(e.target.value))} @@ -61,7 +68,7 @@ export function SettingsPage() { value={preference} /> - + diff --git a/src/web/styles.css b/src/web/styles.css index bf84fc2..cc27e99 100644 --- a/src/web/styles.css +++ b/src/web/styles.css @@ -455,3 +455,8 @@ body { .markdown-table tbody tr:hover td { background: var(--ant-color-fill-quaternary); } + +/* 设置页表单:最后一项无底边距 */ +.settings-form .ant-form-item:last-child { + margin-bottom: 0; +}