character rules

This commit is contained in:
Sirttas
2026-05-23 23:47:06 +02:00
parent e233e609e6
commit a1dbe41b6c
8 changed files with 65 additions and 22 deletions
+3 -1
View File
@@ -13,7 +13,9 @@ const addCharacter = () => {
<template>
<div class="grid mb-2 mt-4">
<button class="justify-self-end" @click="addCharacter">Add chacarcter</button>
<div class="mb-4 border-b-1 flex justify-end">
<button class="mb-2" @click="addCharacter">Add chacarcter</button>
</div>
<div v-for="character in characters" :key="character.characterId" class="flex items-center mb-2">
<CharacterLabel :character="character" />
</div>