fix: 修复编辑会话名称窗口的圆角和左右边距问题 (#2583)

This commit is contained in:
Junhua Don
2025-08-31 11:12:25 +08:00
committed by GitHub
parent 98d8eaee02
commit 33407c9f0d

View File

@@ -480,7 +480,7 @@
<!-- 会话命名编辑对话框 --> <!-- 会话命名编辑对话框 -->
<v-dialog v-model="nameEditDialog" max-width="500" min-height="60%"> <v-dialog v-model="nameEditDialog" max-width="500" min-height="60%">
<v-card v-if="selectedSessionForName" rounded="12"> <v-card v-if="selectedSessionForName">
<v-card-title class="bg-primary text-white py-3 px-4" style="display: flex; align-items: center;"> <v-card-title class="bg-primary text-white py-3 px-4" style="display: flex; align-items: center;">
<v-icon color="white" class="me-2">mdi-rename-box</v-icon> <v-icon color="white" class="me-2">mdi-rename-box</v-icon>
<span>{{ tm('nameEditor.title') }}</span> <span>{{ tm('nameEditor.title') }}</span>
@@ -490,8 +490,9 @@
</v-btn> </v-btn>
</v-card-title> </v-card-title>
<v-card-text class="pa-4"> <v-card-text>
<v-text-field <div style="padding-left: 16px; padding-right: 16px;">
<v-text-field
v-model="newSessionName" v-model="newSessionName"
:label="tm('nameEditor.customName')" :label="tm('nameEditor.customName')"
:placeholder="tm('nameEditor.placeholder')" :placeholder="tm('nameEditor.placeholder')"
@@ -518,6 +519,7 @@
> >
{{ tm('nameEditor.hint') }} {{ tm('nameEditor.hint') }}
</v-alert> </v-alert>
</div>
</v-card-text> </v-card-text>
<v-card-actions class="px-4 pb-4"> <v-card-actions class="px-4 pb-4">