Skip to content

Commit

Permalink
adjust margins on text based fallback comps
Browse files Browse the repository at this point in the history
  • Loading branch information
Salief authored and Salief committed Jun 2, 2024
1 parent 85b1dd9 commit 48514c7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions apps/site/components/server/ItemFallback.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ export function TextFallback({ size }: { size?: 'xs' | 'sm' | 'md' | 'lg' }) {
return (
<div
className={cn(
'w-1/3 md:1/4 aspect-square mt-1',
'w-1/3 md:1/4 aspect-square mt-6',
size === 'xs' && 'mt-1',
size === 'sm' && 'mt-1',
size === 'md' && 'mt-1',
size === 'lg' && 'mr-1 mt-4',
)}
>
Expand All @@ -119,7 +122,10 @@ export function ThreeDFallback({ size }: { size?: 'xs' | 'sm' | 'md' | 'lg' }) {
return (
<div
className={cn(
'w-1/3 md:1/4 aspect-square mt-1',
'w-1/3 md:1/4 aspect-square mt-6',
size === 'xs' && 'mt-1',
size === 'sm' && 'mt-1',
size === 'md' && 'mt-1',
size === 'lg' && 'mr-1 mt-4',
)}
>
Expand Down

0 comments on commit 48514c7

Please sign in to comment.