stuff wip

This commit is contained in:
2024-04-27 23:33:59 +02:00
parent 2e2c6cd8c4
commit cace5cf874
2 changed files with 45 additions and 15 deletions
+9 -2
View File
@@ -18,7 +18,7 @@ const wrapped = ref(false)
<input type="checkbox" v-model="wrapped" />
<div class="cards_container">
<CardPreview v-if="!wrapped" :data="props.stack.at(-1) ?? null">
<CardPreview v-if="!wrapped && props.stack.length > 0" :data="props.stack.at(-1) ?? null">
<slot></slot>
</CardPreview>
@@ -31,4 +31,11 @@ const wrapped = ref(false)
</template>
</template>
<style scoped>
.cards_container {
display: flex;
flex-direction: row;
}
</style>