refactor: upload file card component
This commit is contained in:
parent
fbc47c7d86
commit
522c759e35
1 changed files with 7 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ onMounted(() => {
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div
|
<div
|
||||||
class="bordered rounded row items-center q-pa-md"
|
class="bordered rounded row items-center q-pa-md card"
|
||||||
:class="{ 'cursor-pointer': clickable }"
|
:class="{ 'cursor-pointer': clickable }"
|
||||||
@click="$emit('click')"
|
@click="$emit('click')"
|
||||||
>
|
>
|
||||||
|
|
@ -91,3 +91,9 @@ onMounted(() => {
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
<style scoped>
|
||||||
|
.card:hover {
|
||||||
|
transition: ease-in-out 0.3s;
|
||||||
|
background: hsla(var(--info-bg) / 0.05);
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue