Files
Remote-Terminal-for-MeshCore/frontend/src/styles.css
T

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;
}