refactor: upload file card component

This commit is contained in:
puriphatt 2024-10-24 11:31:52 +07:00
parent fbc47c7d86
commit 522c759e35

View file

@ -48,7 +48,7 @@ onMounted(() => {
</script>
<template>
<div
class="bordered rounded row items-center q-pa-md"
class="bordered rounded row items-center q-pa-md card"
:class="{ 'cursor-pointer': clickable }"
@click="$emit('click')"
>
@ -91,3 +91,9 @@ onMounted(() => {
/>
</div>
</template>
<style scoped>
.card:hover {
transition: ease-in-out 0.3s;
background: hsla(var(--info-bg) / 0.05);
}
</style>