Skip to content

Commit

Permalink
Fix image sizes and placement (#1100)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanbissemattsson authored Sep 9, 2024
1 parent 6a92fcf commit c116bcc
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 h-40 overflow-hidden">
<figure class="table aspect-square h-64 overflow-hidden md:h-56 xl:h-64">
{#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 @@ -98,7 +98,7 @@
<article>
<div class="resource gap-8 find-layout page-padding" class:bg-header={shouldShowHeaderBackground}>
<div
class="mb-2 mt-4 flex w-full justify-center self-center object-center md:mx-auto md:justify-start md:self-start md:px-2 xl:px-0"
class="mb-2 mt-4 flex w-full justify-center self-center object-center md:mx-auto 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 c116bcc

Please sign in to comment.