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

This commit is contained in:
Maurice
2026-11-08 13:33:01 +01:00
parent 4d550112a1
commit d0b28c5cae
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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
+3 -1
View File
@@ -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);
}
}