mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-13 15:51:00 +00:00
fix: format the floating panel stylesheet and keep the locate-button room private
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user