From 3bc203186644f4af5b0a218e5bdced217a28ec09 Mon Sep 17 00:00:00 2001 From: dtonon Date: Tue, 26 May 2026 14:50:54 +0100 Subject: [PATCH] Show images edge-to-edge in mobile --- src/lib/components/PostContent.svelte | 4 ++-- src/routes/+layout.svelte | 2 +- src/routes/+page.svelte | 6 +++++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/lib/components/PostContent.svelte b/src/lib/components/PostContent.svelte index 234dcf8..cea39fd 100644 --- a/src/lib/components/PostContent.svelte +++ b/src/lib/components/PostContent.svelte @@ -679,7 +679,7 @@ src={block.src} alt={block.alt} loading="lazy" - class="block mx-auto w-full max-h-[80vh] object-contain rounded" + class="block -mx-6 w-[calc(100%_+_3rem)] max-w-none max-h-[80vh] object-contain rounded-none md:mx-auto md:w-full md:max-w-full md:rounded" /> {:else if block.type === "blockquote"}
{@render renderBlocks(blocks)} diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 31ecdfa..9306755 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -118,7 +118,7 @@ it first and it reappears once the top is reached. Desktop only. -->
{@render children()}
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 670a756..1a5f456 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -59,7 +59,11 @@ {#if MODE === "simple"} {:else} -

Rooms

+ {#if partial} +
+ {:else} +

Forum rooms

+ {/if} {#if groupsStore.list.length === 0}