From 40d863569fe6e061af92d62c0a7eddf709e91625 Mon Sep 17 00:00:00 2001 From: LucaP Date: Sun, 11 Oct 2026 01:18:04 +0300 Subject: [PATCH] fix: hide the window hint while a sign is in flight --- src/styles/gantry.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/styles/gantry.css b/src/styles/gantry.css index 8e97888..4de9147 100644 --- a/src/styles/gantry.css +++ b/src/styles/gantry.css @@ -322,6 +322,12 @@ html[data-gantry='docked'] .gantry-window { opacity: 1; translate: 50% 0; } +/* While a sign is on its way the hint would name an exit the car is already + driving to, so it waits until the window is at rest again. */ +html:is([data-interlude], [data-gantry='incoming'], [data-gantry='passing']) .gantry-window .gantry-window__hint { + opacity: 0; + transition-duration: 80ms; +} @media (max-width: 359px) { .gantry-window { display: none; } }