diff --git a/front/src/components/ui/Card.vue b/front/src/components/ui/Card.vue index cda5ea888..2c9c81c43 100644 --- a/front/src/components/ui/Card.vue +++ b/front/src/components/ui/Card.vue @@ -2,7 +2,7 @@ import { computed } from 'vue' import { type RouterLinkProps, RouterLink } from 'vue-router'; -import { type ColorProps, type PastelProps, type RaisedProps, type VariantProps, propsToColor } from '~/composables/colors' +import { type ColorProps, type DefaultProps, type PastelProps, type RaisedProps, type VariantProps, propsToColor } from '~/composables/colors' import Pill from './Pill.vue' import Alert from './Alert.vue' @@ -14,22 +14,25 @@ interface Props extends Partial { category?: true | "h1" | "h2" | "h3" | "h4" | "h5" image?: string | { src: string, style?: "withPadding" } tags?: string[] + small?: true } -const props = defineProps() +const props = defineProps() const image = typeof props.image === 'string' ? { src: props.image } : props.image const isExternalLink = computed(() => { return typeof props.to === 'string' && props.to.startsWith('http') }) + +// const fallbackWidth =