fix: make nightdrive signage reliable and legible

This commit is contained in:
2026-09-03 17:07:00 +03:00
parent 4404c07f93
commit b075041918
50 changed files with 4435 additions and 200 deletions

View File

@@ -6,7 +6,7 @@ import type { JourneySnapshot } from "@/journey/types";
const props = defineProps<{
items: ReadonlyArray<{ id: SectionId; label: string }>;
journey: JourneySnapshot;
onSectionLinkClick: (event: MouseEvent) => void;
onSectionLinkClick: (event: MouseEvent, requestSign?: boolean) => void;
}>();
const navigationLabels: Readonly<Record<SectionId, string>> = {
@@ -42,7 +42,7 @@ onBeforeUnmount(() => {
});
const navigate = (event: MouseEvent): void => {
props.onSectionLinkClick(event);
props.onSectionLinkClick(event, true);
if (window.matchMedia("(max-width: 767px)").matches)
disclosure.value?.removeAttribute("open");
};