diff --git a/src/client/theme-default/components/VPFeature.vue b/src/client/theme-default/components/VPFeature.vue index e6313cbf..abdade78 100644 --- a/src/client/theme-default/components/VPFeature.vue +++ b/src/client/theme-default/components/VPFeature.vue @@ -25,8 +25,16 @@ defineProps<{ :tag="link ? 'a' : 'div'" >
+
+ +
:deep(.VPImage) { margin-bottom: 20px; } diff --git a/types/default-theme.d.ts b/types/default-theme.d.ts index e245ead2..f64a074d 100644 --- a/types/default-theme.d.ts +++ b/types/default-theme.d.ts @@ -190,13 +190,20 @@ export namespace DefaultTheme { export type FeatureIcon = | string - | { src: string; alt?: string; width?: string; height: string } + | { + src: string + alt?: string + width?: string + height?: string + wrap?: boolean + } | { light: string dark: string alt?: string width?: string - height: string + height?: string + wrap?: boolean } // sidebar -------------------------------------------------------------------