diff --git a/src/assets/base.css b/src/assets/base.css index 26255a6..41a9ed5 100644 --- a/src/assets/base.css +++ b/src/assets/base.css @@ -3,12 +3,12 @@ @tailwind utilities; body { - @apply min-h-screen bg-slate-900 text-slate-100 leading-relaxed; + @apply min-h-screen m-0 p-0 bg-slate-900 text-slate-100 leading-relaxed; transition: color 0.3s, background-color 0.2s; } #app { - @apply flex justify-around items-center w-screen min-h-screen m-0 p-4; + @apply flex justify-around items-center w-screen min-h-screen; } button, input { diff --git a/src/composables/useRaffle.ts b/src/composables/useRaffle.ts index ff48b08..f98f929 100644 --- a/src/composables/useRaffle.ts +++ b/src/composables/useRaffle.ts @@ -11,6 +11,7 @@ export default function useRaffle() { const raffleStore = useStorage('', EMPTY_STORE) const newRaffle = ref({ + id: genId(), title: '', date: new Date().toLocaleDateString('de'), participants: [], diff --git a/src/pages/Home.vue b/src/pages/Home.vue index f2bdd87..b8f4b46 100644 --- a/src/pages/Home.vue +++ b/src/pages/Home.vue @@ -1,5 +1,6 @@