From 2177d004c88d1daccc9ae4808dc75b66eb0f2d3a Mon Sep 17 00:00:00 2001
From: Wolfgang Müller
Date: Tue, 18 Feb 2025 17:48:33 +0100
Subject: frontend: Fix page rendering in PageView for mismatched image sizes

If we display two images next to each other whose dimensions do not line
up nicely, 'grow' will for some reason cause the smaller image's div to
grow less wide. Use 'w-full' instead to force the div to have full
width.
---
 frontend/src/lib/reader/ReaderPage.svelte | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'frontend/src/lib/reader/ReaderPage.svelte')

diff --git a/frontend/src/lib/reader/ReaderPage.svelte b/frontend/src/lib/reader/ReaderPage.svelte
index 83b2d1b..4a19c6e 100644
--- a/frontend/src/lib/reader/ReaderPage.svelte
+++ b/frontend/src/lib/reader/ReaderPage.svelte
@@ -13,7 +13,7 @@
 
 <!-- svelte-ignore a11y_click_events_have_key_events -->
 <!-- svelte-ignore a11y_no_static_element_interactions -->
-<div class="flex grow" {onclick}>
+<div class="flex w-full" {onclick}>
 	<img
 		class="h-auto w-auto object-contain"
 		width={page.image.width}
-- 
cgit v1.2.3-2-gb3c3

