From 2ba0cda9ccf5e430bca3f092f4a2a5142b10ed31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Thu, 22 Oct 2026 03:24:03 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20the=20restart=20bar=20is?= =?UTF-8?q?=20a=20pill=20at=20the=20bottom,=20and=20the=20offline=20title?= =?UTF-8?q?=20reads=20Server=20restarting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/forge-web/assets/offline.html | 4 ++-- style/_link.scss | 16 ++++++++++------ 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/crates/forge-web/assets/offline.html b/crates/forge-web/assets/offline.html index 9089a5d..e43bbf7 100644 --- a/crates/forge-web/assets/offline.html +++ b/crates/forge-web/assets/offline.html @@ -12,8 +12,8 @@
- - + +
diff --git a/style/_link.scss b/style/_link.scss index c527b06..f9455e8 100644 --- a/style/_link.scss +++ b/style/_link.scss @@ -1,19 +1,23 @@ // The restart bar (shown while the server is down, nav.js) and the offline page (service worker). // Colours come from the tokens, so light and dark follow the theme. +// A small pill at the bottom centre: it covers no part of the header or the page's top. .link-bar { position: fixed; - top: 0; - left: 0; - right: 0; + bottom: 16px; + left: 50%; z-index: 1000; box-sizing: border-box; - padding: 8px 16px; + transform: translateX(-50%); + max-width: calc(100% - 32px); + padding: 6px 14px; + border: 1px solid var(--accent); + border-radius: 999px; text-align: center; - font-size: 0.875rem; + font-size: 0.8125rem; + line-height: 1.4; color: var(--text); background: var(--accent-soft); - border-bottom: 1px solid var(--accent); overflow-wrap: anywhere; }