Skip to content

Commit

Permalink
修改样式错误
Browse files Browse the repository at this point in the history
  • Loading branch information
sumingcheng committed Jan 5, 2025
1 parent aca5e66 commit 4f555f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/home/components/SettingsDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ watch(() => props.modelValue, (val) => {
</div>

<template #footer>
<div :class="[{ 'flex gap-2': !isMobile, 'space-y-2': isMobile }]">
<div :class="[{ 'flex justify-center items-center gap-2': !isMobile, 'space-y-2': isMobile }]">
<el-button @click="$emit('update:modelValue', false)" :size="isMobile ? 'default' : 'large'"
:class="{ 'w-full': isMobile }">
:class="{ 'w-full mb-2': isMobile }">
取消
</el-button>
<el-button type="primary" @click="emit('save', localKey, localVersion)" :size="isMobile ? 'default' : 'large'"
:class="{ 'w-full': isMobile }">
class="!m-0" :class="{ 'w-full': isMobile }">
保存
</el-button>
</div>
Expand Down

0 comments on commit 4f555f5

Please sign in to comment.