Closes #11
This commit is contained in:
@@ -19,6 +19,9 @@ const props = withDefaults(defineProps<Props>(), {
|
|||||||
<slot></slot>
|
<slot></slot>
|
||||||
</CardPreview>
|
</CardPreview>
|
||||||
</template>
|
</template>
|
||||||
|
<template v-if="props.stack.length == 0">
|
||||||
|
<img :class="`card_image empty`" :src="'/cards/background.png'" draggable="false">
|
||||||
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -38,4 +41,9 @@ const props = withDefaults(defineProps<Props>(), {
|
|||||||
flex-direction: row-reverse;
|
flex-direction: row-reverse;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card_image.empty {
|
||||||
|
filter: brightness(0.5);
|
||||||
|
max-height: 250px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user