mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
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:
@@ -112,16 +112,12 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="transition-opacity flex gap-3 h-0"
|
class="transition-opacity flex gap-3 h-0 items-center"
|
||||||
:class="{
|
:class="{
|
||||||
'opacity-40': selected && selected !== 'cpu'
|
'opacity-40': selected && selected !== 'cpu'
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<ToggleSwitch
|
<ToggleSwitch v-model="cpuMode" input-id="cpu-mode" />
|
||||||
v-model="cpuMode"
|
|
||||||
input-id="cpu-mode"
|
|
||||||
class="-translate-y-40"
|
|
||||||
/>
|
|
||||||
<label for="cpu-mode" class="select-none">
|
<label for="cpu-mode" class="select-none">
|
||||||
{{ $t('install.gpuSelection.enableCpuMode') }}
|
{{ $t('install.gpuSelection.enableCpuMode') }}
|
||||||
</label>
|
</label>
|
||||||
|
|||||||
Reference in New Issue
Block a user