From 8cc919bb03f0295e8e8572f4ee840bc049f37b20 Mon Sep 17 00:00:00 2001 From: Frederic Cabassut Date: Mon, 9 Mar 2026 23:24:08 +0100 Subject: [PATCH] refactor: promote all formatting buttons to top-level on desktop Move undo/redo to the start of the toolbar, promote inline code, blockquote, code block, and divider to top-level desktop buttons. The More dropdown is now mobile-only since all items are directly accessible on desktop. Co-Authored-By: Claude Opus 4.6 --- src/lib/components/FormattingToolbar.svelte | 81 ++++++++++++++------- 1 file changed, 54 insertions(+), 27 deletions(-) diff --git a/src/lib/components/FormattingToolbar.svelte b/src/lib/components/FormattingToolbar.svelte index 095ff82..3bbaa21 100644 --- a/src/lib/components/FormattingToolbar.svelte +++ b/src/lib/components/FormattingToolbar.svelte @@ -117,6 +117,28 @@ class="flex items-center gap-0.5 border-b border-[var(--border-subtle)] px-2 py-1" data-testid="formatting-toolbar" > + + + + + + + + - - - -
+ +
{#if openDropdown === 'more'}
- -
+