We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c57f6ec commit b848e1eCopy full SHA for b848e1e
packages/kit-styled/src/components/card/card.tsx
@@ -57,9 +57,7 @@ const CardFooter = component$<PropsOf<'div'>>(({ ...props }) => {
57
58
// Experimental API
59
const CardImage = component$<PropsOf<'img'>>(({ ...props }) => {
60
- return (
61
- <img {...props} class={cn('aspect-square h-full w-full object-cover', props.class)} />
62
- );
+ return <img {...props} class={cn('w-full object-cover', props.class)} />;
63
});
64
65
export {
0 commit comments