diff --git a/tauri-app/src/pages/ContentManagement/ContentManagement.css b/tauri-app/src/pages/ContentManagement/ContentManagement.css index 0986cfc..c1355b1 100644 --- a/tauri-app/src/pages/ContentManagement/ContentManagement.css +++ b/tauri-app/src/pages/ContentManagement/ContentManagement.css @@ -2105,13 +2105,21 @@ .about-version-row { display: flex; + flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: 320px; margin: 0 auto; - padding: var(--spacing-xs) 0; - gap: var(--spacing-sm); + padding: 0; + gap: 0; +} + +.about-version-row > .about-check-btn { + padding-top: 0; + padding-bottom: 0; + min-height: unset; + line-height: 1.4; } .about-version-text { @@ -2123,10 +2131,12 @@ font-weight: 500; } -.about-version-actions { +.about-version-status { display: flex; align-items: center; - gap: var(--spacing-md); + justify-content: center; + margin-top: 0; + min-height: 0; } .about-checking-status { diff --git a/tauri-app/src/pages/Settings/Settings.tsx b/tauri-app/src/pages/Settings/Settings.tsx index 8a274fa..1e49e36 100644 --- a/tauri-app/src/pages/Settings/Settings.tsx +++ b/tauri-app/src/pages/Settings/Settings.tsx @@ -215,27 +215,27 @@ export default function Settings() { > 当前版本 v{CURRENT_VERSION} -
- {checking ? ( - - - - - 检查中... - - ) : checkResult === 'latest' ? ( - 当前已是最新版本 - ) : checkResult === 'available' ? ( - 发现新版本 {updateInfo?.version} - ) : null} - -
+ + +
+ {checking ? ( + + + + + 检查中... + + ) : checkResult === 'latest' ? ( + 当前已是最新版本 + ) : checkResult === 'available' ? ( + 发现新版本 {updateInfo?.version} + ) : null}
{/* 更新详情(发现新版本时展开) */}