Skip to content

Commit

Permalink
fix: safari aspect-ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
julietafrade97 committed Jan 28, 2025
1 parent 1144b52 commit ac3c784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/blocks/rich-text-box.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
)}
>
<img
class={clsx('rounded-md object-cover', block.layout === 'vertical' && 'w-full')}
class={clsx('aspect-auto rounded-md object-cover', block.layout === 'vertical' && 'w-full')}
{src}
{alt}
{width}
Expand Down

0 comments on commit ac3c784

Please sign in to comment.