Fold the connection banner into the notification stack
The offline pill was drawn inside a `flex h-0` container with align-items at its default stretch, so the pill was stretched to a zero-height box while still carrying its padding — the "box too small" it was reported as. It is a persistent notification now, keyed on one id so a poll that keeps confirming "still offline" replaces the card instead of restacking it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -23,7 +23,7 @@ const GRACE = 3000
|
||||
* stop pulsing and the values stop changing, with nothing to say why. Nothing
|
||||
* at all while the socket is up: a page that works needs no chip saying so.
|
||||
*
|
||||
* Quiet too while `ConnectionBanner` is up, since an installation that cannot
|
||||
* Quiet too while the offline notification is up, since an installation that cannot
|
||||
* be reached has no socket either and one explanation of that is enough. Named
|
||||
* in words rather than coloured, and deliberately not terracotta: the brain
|
||||
* graph above it already owns that accent for a flow that cannot run.
|
||||
|
||||
Reference in New Issue
Block a user