Skip to content

Commit 81cb87d

Browse files
committed
Refinement of the button icon appearance
1 parent fd1c34e commit 81cb87d

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

src/renderer/components/common/ConfigDxtCard.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ const getErrorMessages = (para: DxtUserConfigurationOption, key: string) => {
111111
<v-btn
112112
color="primary"
113113
variant="text"
114-
size="small"
115114
rounded="lg"
116115
icon="mdi-open-in-new"
117116
@click="openDxtFilePath(metadata.name)"

src/renderer/components/pages/McpDxtPage.vue

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,16 @@ const closeDialog = () => {
7575

7676
<template>
7777
<v-dialog v-model="internalDialog" persistent max-width="80vw" max-height="80vh" scrollable>
78-
<v-card>
79-
<v-card-title class="d-flex align-center">
80-
<div> {{ $t('dxt.title') }} </div>
81-
<v-spacer></v-spacer>
82-
<v-icon-btn
78+
<v-card :title="$t('dxt.title')">
79+
<template #append>
80+
<v-btn
8381
icon="mdi-close-box"
8482
rounded="lg"
8583
color="error"
86-
variant="plain"
84+
variant="text"
8785
@click="closeDialog"
88-
></v-icon-btn>
89-
</v-card-title>
86+
></v-btn>
87+
</template>
9088
<v-divider></v-divider>
9189
<v-card-text>
9290
<slot></slot>

0 commit comments

Comments
 (0)