Skip to content

Commit eed20ec

Browse files
committed
style: Make "Application Scaling" look better
1 parent 2f7a2ce commit eed20ec

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/renderer/views/Config.vue

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,15 +304,21 @@
304304
</p>
305305
</div>
306306
<div class="flex flex-row gap-2 justify-center items-center">
307-
<x-button type="button" class="px-2 py-1 text-neutral-200" @click="updateApplicationScale(wbConfig.config.scaleDesktop - 10)">-</x-button>
307+
<x-button type="button" class="size-8 !p-0" @click="updateApplicationScale(wbConfig.config.scaleDesktop - 10)">
308+
<Icon icon="mdi:minus" class="size-4"></Icon>
309+
<x-label class="sr-only">Subtract</x-label>
310+
</x-button>
308311
<x-input
309312
type="text"
310313
v-model="origApplicationScale"
311-
class="w-20"
314+
class="!max-w-16"
312315
v-on:keydown="(e: any) => ensureNumericInput(e)"
313316
v-on:blur="(e: any) => updateApplicationScale(e.target.value)"
314317
></x-input>
315-
<x-button type="button" class="px-2 py-1" @click="updateApplicationScale(wbConfig.config.scaleDesktop + 10)">+</x-button>
318+
<x-button type="button" class="size-8 !p-0" @click="updateApplicationScale(wbConfig.config.scaleDesktop + 10)">
319+
<Icon icon="mdi:plus" class="size-4"></Icon>
320+
<x-label class="sr-only">Add</x-label>
321+
</x-button>
316322
</div>
317323
</x-card>
318324

0 commit comments

Comments
 (0)