Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

fix: format the floating panel stylesheet and keep the locate-button room private

Maurice5f711d53749a
diff --git a/client/src/components/Map/switcherRow.ts b/client/src/components/Map/switcherRow.ts
index 4eddf12d8..15df95e37 100644
--- a/client/src/components/Map/switcherRow.ts
+++ b/client/src/components/Map/switcherRow.ts
@@ -2,7 +2,7 @@ import type { CSSProperties } from 'react';
import { MAP_LAYER_SWITCHER_INSET } from './MapLayerSwitcher';
/** What the switcher row leaves free at the map's trailing edge: the locate button (20px off the edge, 44px wide) and a gap. */
-export const LOCATE_BUTTON_ROOM = 76;
+const LOCATE_BUTTON_ROOM = 76;
/**
* The column along a map's bottom edge that holds the layer switcher, both
diff --git a/client/src/styles/studio-floating.css b/client/src/styles/studio-floating.css
index 238502cad..428519c5a 100644
--- a/client/src/styles/studio-floating.css
+++ b/client/src/styles/studio-floating.css
@@ -6,5 +6,7 @@
*/
@media (max-width: 1079px) {
.trek-dash .st-panel.st-inspector,
- .trek-dash .st-panel.st-side { background: var(--surface); }
+ .trek-dash .st-panel.st-side {
+ background: var(--surface);
+ }
}