From b38755b21cde78548b0e678774ce75b87faf6b83 Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Wed, 9 Sep 2026 12:12:15 -0400 Subject: [PATCH] fix: keep sticky code block headers at the top of channel scroll containers (#29836) * fix: keep sticky code block headers at the top of channel scroll containers * fix: clip the sticky code block header to the block's rounded corners * fix: give channel scroll containers their own layer so firefox clips sticky code headers --- .../channel/PinnedMessagesModal.svelte | 104 +++++++++--------- src/lib/components/channel/Thread.svelte | 73 ++++++------ .../components/chat/Messages/CodeBlock.svelte | 4 +- 3 files changed, 94 insertions(+), 87 deletions(-) diff --git a/src/lib/components/channel/PinnedMessagesModal.svelte b/src/lib/components/channel/PinnedMessagesModal.svelte index d83fb463d1..81233f8881 100644 --- a/src/lib/components/channel/PinnedMessagesModal.svelte +++ b/src/lib/components/channel/PinnedMessagesModal.svelte @@ -94,62 +94,64 @@ {:else}
{/if} diff --git a/src/lib/components/channel/Thread.svelte b/src/lib/components/channel/Thread.svelte index 39203eb7dd..f174ed6d33 100644 --- a/src/lib/components/channel/Thread.svelte +++ b/src/lib/components/channel/Thread.svelte @@ -188,43 +188,48 @@ -