Fix overlapping elements in desktop installer (#5735)

Fixes regression from Tailwind v4 upgrade where CPU toggle overlaps
content.

Removed unnecessary translate transform causing element positioning
issues.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-5735-Fix-overlapping-elements-in-desktop-installer-2776d73d365081299affc7894bc88faa)
by [Unito](https://www.unito.io)
This commit is contained in:
filtered
2025-09-24 05:50:44 +10:00
committed by GitHub
parent c004a2b8bd
commit c6e50d8f1b

View File

@@ -112,16 +112,12 @@
</div>
<div
class="transition-opacity flex gap-3 h-0"
class="transition-opacity flex gap-3 h-0 items-center"
:class="{
'opacity-40': selected && selected !== 'cpu'
}"
>
<ToggleSwitch
v-model="cpuMode"
input-id="cpu-mode"
class="-translate-y-40"
/>
<ToggleSwitch v-model="cpuMode" input-id="cpu-mode" />
<label for="cpu-mode" class="select-none">
{{ $t('install.gpuSelection.enableCpuMode') }}
</label>