Skip to content

Commit

Permalink
perf: 💄 Optimize preference setting button layout
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Sep 9, 2024
1 parent 8cf4c34 commit 47ae53d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Preference/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<div
class="mr-4 pb-2 flex items-center justify-between flex-none border-b border-gray-200 dark:border-gray-700"
>
<div class="">
<div class="flex-none">
<ScopeSelect
v-model="deviceScope"
@change="onScopeChange"
@device-change="onDeviceChange"
/>
</div>
<div class="">
<el-button-group class="flex-none">
<el-button type="" icon="Upload" plain @click="handleImport">
{{ $t('preferences.config.import.name') }}
</el-button>
Expand All @@ -23,7 +23,7 @@
<el-button type="" icon="RefreshRight" plain @click="handleReset">
{{ $t('preferences.config.reset.name') }}
</el-button>
</div>
</el-button-group>
</div>

<div class="pr-2 pt-4 flex-1 h-0 overflow-auto">
Expand Down

0 comments on commit 47ae53d

Please sign in to comment.