set skeleton size in theme step

This commit is contained in:
martin-mfg
2025-09-21 15:23:36 +02:00
parent 5af97fbe1e
commit dd92e07f89
2 changed files with 3 additions and 7 deletions
@@ -10,12 +10,7 @@ export const Image = ({ imageSrc, compact, extraClasses = '' }) => {
return (
<div className={`${extraClasses} relative w-full relative`}>
<SVG
forceLoading
className="object-cover"
url={fullImageSrc}
compact={compact}
/>
<SVG className="object-cover" url={fullImageSrc} compact={compact} />
</div>
);
};
+2 -1
View File
@@ -42,7 +42,8 @@ const SvgInline = (props) => {
if (props.compact) {
return <Skeleton style={{ paddingBottom: '58%' }} />;
}
return <Skeleton style={{ paddingBottom: '95%' }} />;
// maximum dimensions of cards in SelectCard stage
return <Skeleton className="h-[245px] w-[450px]" />;
}
// Render a container div for the shadow DOM