Skip to content

Commit 3454369

Browse files
Tesperaclaude
andcommitted
style(update): 更新弹窗 UI 微调
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4902638 commit 3454369

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

frontend/src/layouts/MainLayout.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ fill-rule="evenodd" clip-rule="evenodd"
122122

123123
<!-- Dialogs -->
124124
<Dialog v-model:open="updateModalVisible">
125-
<DialogContent class="update-dialog p-0 max-w-[480px] overflow-hidden border-0 shadow-2xl">
125+
<DialogContent class="update-dialog p-0 max-w-[420px] overflow-hidden border-0 shadow-2xl">
126126
<DialogTitle class="sr-only">{{ t('update.title') }}</DialogTitle>
127127

128128
<!-- Hero -->
@@ -149,8 +149,8 @@ fill-rule="evenodd" clip-rule="evenodd"
149149
</div>
150150

151151
<!-- Release notes -->
152-
<div class="px-6 py-4 max-h-[320px] overflow-y-auto border-t border-border/60">
153-
<div class="release-notes text-sm text-foreground/90 leading-relaxed" v-html="updateContent"></div>
152+
<div class="px-8 py-5 max-h-[320px] overflow-y-auto border-t border-border/60">
153+
<div class="release-notes text-xs text-foreground/90 leading-relaxed" v-html="updateContent"></div>
154154
</div>
155155

156156
<!-- Progress (downloading / ready / error) -->
@@ -715,9 +715,9 @@ onMounted(() => {
715715
.release-notes :deep(h2),
716716
.release-notes :deep(h3),
717717
.release-notes :deep(h4) {
718-
font-size: 0.875rem;
718+
font-size: 0.8125rem;
719719
font-weight: 600;
720-
margin: 1rem 0 0.5rem;
720+
margin: 0.875rem 0 0.375rem;
721721
color: var(--foreground);
722722
display: flex;
723723
align-items: center;
@@ -763,7 +763,7 @@ onMounted(() => {
763763
padding: 0.125rem 0.375rem;
764764
border-radius: 0.25rem;
765765
background: var(--muted);
766-
font-size: 0.8125rem;
766+
font-size: 0.75rem;
767767
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
768768
}
769769

0 commit comments

Comments
 (0)