chore(control): improve zoom-in/zoom-out buttons

This commit is contained in:
E44
2026-01-03 15:13:35 +01:00
parent 5531ff0ffa
commit 0a35fcc543
2 changed files with 9 additions and 9 deletions
@@ -220,25 +220,25 @@
<div class="flex flex-row">
<Button
title="Bildschirme größer darstellen"
className="aspect-square p-1! rounded-r-none"
className="aspect-square p-1.5! pr-1! rounded-r-none"
bg="bg-stone-600"
disabled={!Boolean(next_height_step_size('display', $current_height, 1))}
click_function={() => {
change_height('display', 1);
}}
>
<ZoomIn />
<ZoomIn class="size-full" />
</Button>
<Button
title="Bildschirme kleiner darstellen"
className="aspect-square p-1! rounded-l-none"
className="aspect-square p-1.5! pl-1! rounded-l-none"
bg="bg-stone-600"
disabled={!Boolean(next_height_step_size('display', $current_height, -1))}
click_function={() => {
change_height('display', -1);
}}
>
<ZoomOut />
<ZoomOut class="size-full" />
</Button>
</div>
</div>