fix(ui): replace border-l dirty indicator with box-shadow

Use inset box-shadow instead of left border to show unsaved env var
state, avoiding layout shift and border-radius interference.
This commit is contained in:
Andras Bacsai 2026-05-07 13:46:11 +02:00
parent df87a49381
commit 8044045f13

View file

@ -229,7 +229,7 @@ class="flex absolute inset-y-0 right-0 z-10 items-center pr-2 cursor-pointer dar
@readonly($readonly)
@if ($modelBinding !== 'null')
wire:model="{{ $modelBinding }}"
wire:dirty.class="dark:border-l-warning border-l-coollabs border-l-4"
wire:dirty.class="[box-shadow:inset_4px_0_0_#6b16ed,inset_0_0_0_2px_#e5e5e5] dark:[box-shadow:inset_4px_0_0_#fcd452,inset_0_0_0_2px_#242424]"
@endif
wire:loading.attr="disabled"
@disabled($disabled)