mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-11-06 17:42:22 +01:00
46 lines
785 B
CSS
46 lines
785 B
CSS
/* Base styles - minimal CSS that Tailwind/shadcn can't handle */
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#root {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
/* Prevent overscroll/bounce on mobile */
|
|
overscroll-behavior: none;
|
|
}
|
|
|
|
/* Fallback for browsers without dvh support */
|
|
@supports not (height: 1dvh) {
|
|
.h-dvh {
|
|
height: 100vh;
|
|
}
|
|
}
|
|
|
|
/* Mobile sidebar override - ensures sidebar fills Sheet container */
|
|
[data-state] .sidebar {
|
|
width: 100%;
|
|
border-right: none;
|
|
}
|
|
|
|
/* Constrain Leaflet map z-index to stay below modals/sheets */
|
|
.leaflet-container {
|
|
z-index: 0 !important;
|
|
}
|
|
|
|
.leaflet-pane {
|
|
z-index: 0 !important;
|
|
}
|
|
|
|
.leaflet-control {
|
|
z-index: 10 !important;
|
|
}
|