fix: in-route sidebar being fullscreen
Some checks failed
TrafficCue CI / check (push) Failing after 56s
TrafficCue CI / build-android (push) Has been cancelled
TrafficCue CI / build (push) Has been cancelled

This commit is contained in:
2025-09-16 19:25:27 +02:00
parent 28796ee267
commit 13c02fc535

View File

@ -99,7 +99,7 @@
}); });
$effect(() => { $effect(() => {
const fullHeight = window.innerHeight - 20 - 40 - 10; const fullHeight = window.innerHeight - 20 - 40 - 10;
if (fullscreen[view.current.type]) { if (fullscreen[view.current.type] && !routing.currentTrip) {
if (sidebarHeight.target != fullHeight) { if (sidebarHeight.target != fullHeight) {
if (window.innerWidth < 768) { if (window.innerWidth < 768) {
hideSearch = true; hideSearch = true;