Skip to content

Commit

Permalink
Fix resource image placement on Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperengstrom committed Aug 8, 2024
1 parent 94510c4 commit 73d3f6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lxl-web/src/lib/components/ResourceImage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</script>

{#if image && thumb}
<figure class="table aspect-square max-h-40 overflow-hidden">
<figure class="table aspect-square h-40 overflow-hidden">
{#if linkToFull && full}
<a href={full.url} target="_blank" class="object-[inherit]">
<img
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<article>
<div class="resource gap-8 find-layout page-padding" class:bg-header={shouldShowHeaderBackground}>
<div
class="mb-2 mt-4 flex justify-center self-center object-center md:mx-auto md:justify-start md:self-start md:px-2 xl:px-0"
class="w-full mb-2 mt-4 flex justify-center self-center object-center md:mx-auto md:justify-start md:self-start md:px-2 xl:px-0"
class:hidden={!$page.data.images?.length}
>
{#if data.images.length}
Expand Down

0 comments on commit 73d3f6a

Please sign in to comment.