diff --git a/bun.lockb b/bun.lockb index 38aab03..97b40d7 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/layouts/auto-grid.vue b/layouts/auto-grid.vue index d4d23b5..b56cee9 100644 --- a/layouts/auto-grid.vue +++ b/layouts/auto-grid.vue @@ -25,9 +25,13 @@ defineProps<{ grid-template-columns: repeat(var(--columns, 2), 1fr); grid-auto-rows: var(--rows, auto); gap: var(--space-xs); -} -.auto-grid > * { - inline-size: 100%; - block-size: 100%; + + & > * { + inline-size: 100%; + block-size: 100%; + } + & > :deep(img) { + block-size: auto; + } } diff --git a/layouts/title-image.vue b/layouts/title-image.vue index 84f044c..310859e 100644 --- a/layouts/title-image.vue +++ b/layouts/title-image.vue @@ -13,7 +13,7 @@ const image = imageSrc(props.image)