From 2d2e4c6b275e06d0b896ac1d931cf1924918a99d Mon Sep 17 00:00:00 2001 From: Brandon Oxendine Date: Tue, 27 Oct 2026 16:46:55 +0100 Subject: [PATCH] explorer: Keep comment code blocks inside the card --- explorer/src/components/Comment.svelte | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/explorer/src/components/Comment.svelte b/explorer/src/components/Comment.svelte index c4da7f301..7d9fb1376 100644 --- a/explorer/src/components/Comment.svelte +++ b/explorer/src/components/Comment.svelte @@ -75,6 +75,7 @@ gap: 0.5rem; border-radius: var(--border-radius-sm); scroll-margin-top: 5rem; + min-width: 0; } .card.targeted { box-shadow: 0 0 0 2px var(--color-border-brand); @@ -128,6 +129,11 @@ font: var(--txt-body-m-regular); padding: 0 2.25rem; } + .card-body-content { + overflow: hidden; + width: 100%; + min-width: 0; + } .card-empty-body { padding: 0; } @@ -226,7 +232,7 @@ {#if body}
-
+