frontend/components/ui/card/Card.vue
Jesse Wierzbinski 00b6783ae0
Some checks failed
CodeQL / Analyze (javascript) (push) Failing after 1s
Deploy to GitHub Pages / build (push) Failing after 2s
Docker / build (push) Failing after 0s
Deploy to GitHub Pages / deploy (push) Has been skipped
Mirror to Codeberg / Mirror (push) Failing after 0s
refactor: 💄 Update card and action button padding
2025-06-18 19:55:56 +02:00

19 lines
404 B
Vue

<script setup lang="ts">
import { cn } from "@/lib/utils";
import type { HTMLAttributes } from "vue";
const props = defineProps<{
class?: HTMLAttributes["class"];
}>();
</script>
<template>
<div data-slot="card" :class="cn(
'bg-card text-card-foreground flex flex-col gap-6 rounded-md border p-4 shadow-sm',
props.class,
)
">
<slot />
</div>
</template>