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; }