Revert "Reduce ADS-B map layout shift"

This reverts commit 3afaa6e1ee.
This commit is contained in:
James Smith
2026-03-19 00:17:22 +00:00
parent 3afaa6e1ee
commit 595a2003d5
2 changed files with 23 additions and 61 deletions

View File

@@ -862,9 +862,6 @@ body {
min-height: 300px;
min-width: 0;
overflow: hidden;
background: #08121c;
contain: layout paint;
overflow-anchor: none;
}
@media (min-width: 768px) {
@@ -883,19 +880,17 @@ body {
.display-container {
position: absolute;
inset: 0;
isolation: isolate;
contain: layout paint;
overflow-anchor: none;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
#radarMap {
position: absolute;
inset: 0;
position: relative;
width: 100%;
height: 100%;
display: block;
background: #08121c;
contain: layout paint;
overflow-anchor: none;
}
.map-crosshair-overlay {
@@ -909,16 +904,6 @@ body {
--crosshair-x-end: 50%;
--crosshair-y-end: 50%;
--crosshair-duration: 1500ms;
contain: layout paint;
overflow-anchor: none;
}
#radarMap .leaflet-pane,
#radarMap .leaflet-map-pane,
#radarMap .leaflet-tile-pane,
#radarMap .leaflet-overlay-pane,
#radarMap .leaflet-tile {
overflow-anchor: none;
}
.map-crosshair-line {