stuff wip
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user