From 8603414cac595c1ad2c7098393edb10f10fade11 Mon Sep 17 00:00:00 2001 From: Steffen Becker Date: Fri, 14 Aug 2026 09:26:12 +0200 Subject: [PATCH] feat: show the favicon in the ribbon's tab strip, at its right edge Classic chrome already had the logo as an About-dialog trigger; the ribbon had none. A small favicon icon after the language picker opens the same dialog, giving both chromes the same affordance. --- src/lib/components/ribbon/Ribbon.svelte | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/lib/components/ribbon/Ribbon.svelte b/src/lib/components/ribbon/Ribbon.svelte index 331dd06..2ae60b9 100644 --- a/src/lib/components/ribbon/Ribbon.svelte +++ b/src/lib/components/ribbon/Ribbon.svelte @@ -317,6 +317,10 @@ + + {#if !collapsed} @@ -474,6 +478,22 @@ /* The one place the accent is a surface rather than a line, so it has its own token: the accent that reads on the chrome is too light to carry white. */ + .rb-logo-btn { + display: inline-flex; + align-items: center; + justify-content: center; + width: 26px; + height: 26px; + margin-left: 6px; + padding: 0; + border: none; + background: none; + border-radius: 4px; + cursor: pointer; + } + .rb-logo-btn:hover { background: var(--w-hover); } + .rb-logo-btn img { height: 18px; width: auto; display: block; } + .ribbon-tab-file { border: none; background: var(--w-accent-fill);