Skip to content

Commit c2beb79

Browse files
committed
Improve dxt config title layout for narrow window sizes
1 parent d54b994 commit c2beb79

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

src/renderer/components/common/ConfigDxtCard.vue

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -96,23 +96,27 @@ const getErrorMessages = (para: DxtUserConfigurationOption, key: string) => {
9696

9797
<template>
9898
<v-card>
99-
<v-card-title class="d-flex align-center">
100-
<div> {{ $t('dxt.title') + ' - ' + metadata.name }} </div>
101-
<v-chip size="small" class="ml-2 mt-1 font-weight-bold" color="blue-darken-4">
102-
{{ manifest.dxt_version }}
103-
</v-chip>
104-
<v-chip size="small" class="ml-2 mt-1 font-weight-bold" color="blue">
105-
{{ manifest.version }}
106-
</v-chip>
107-
<v-spacer></v-spacer>
99+
<template #title>
100+
<div class="d-flex">
101+
{{ $t('dxt.title') + ' - ' + metadata.name }}
102+
<v-chip size="small" class="ml-2 mt-1 font-weight-bold" color="blue-darken-4">
103+
{{ manifest.dxt_version }}
104+
</v-chip>
105+
<v-chip size="small" class="ml-2 mt-1 font-weight-bold" color="blue">
106+
{{ manifest.version }}
107+
</v-chip>
108+
</div>
109+
</template>
110+
<template #append>
108111
<v-btn
109112
color="primary"
110113
variant="text"
111114
size="small"
115+
rounded="lg"
112116
icon="mdi-open-in-new"
113117
@click="openDxtFilePath(metadata.name)"
114118
></v-btn>
115-
</v-card-title>
119+
</template>
116120
<v-divider></v-divider>
117121
<v-card
118122
class="mx-auto"

0 commit comments

Comments
 (0)