forked from noxious/client
Minor improvement
This commit is contained in:
parent
6dad7bc9dd
commit
6be1134c8c
@ -20,7 +20,7 @@
|
|||||||
v-for="character in characters"
|
v-for="character in characters"
|
||||||
:key="character.id"
|
:key="character.id"
|
||||||
class="character relative rounded-l default-border w-9 h-[50px] bg-[url('/assets/ui-texture.png')] after:absolute after:w-full after:h-px after:bg-gray-500"
|
class="character relative rounded-l default-border w-9 h-[50px] bg-[url('/assets/ui-texture.png')] after:absolute after:w-full after:h-px after:bg-gray-500"
|
||||||
:class="{ active: selectedCharacterId == character.id }"
|
:class="{ active: selectedCharacterId === character.id }"
|
||||||
>
|
>
|
||||||
<img src="/assets/placeholders/head.png" class="w-9 h-9 object-contain absolute top-1/2 -translate-y-1/2" alt="Player head" />
|
<img src="/assets/placeholders/head.png" class="w-9 h-9 object-contain absolute top-1/2 -translate-y-1/2" alt="Player head" />
|
||||||
<input class="h-full w-full absolute m-0 z-10 hover:cursor-pointer focus-visible:outline-offset-0" type="radio" name="character" :value="character.id" v-model="selectedCharacterId" />
|
<input class="h-full w-full absolute m-0 z-10 hover:cursor-pointer focus-visible:outline-offset-0" type="radio" name="character" :value="character.id" v-model="selectedCharacterId" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user