Keep the six map-source tiles on one row and follow the engine picker in the map tray gate

Sentinel-2 made the desktop source row wrap to two rows; the row now lays out every tile in one row (three columns on a phone, as before). scripts/qa-map-source-tray.mjs read the controller's removed imagery internals and counted five tiles between OSM and the styles; it now reads the live base provider and counts the section's tiles and engine picker. The five failures left also fail on origin/main e5d15f24.
This commit is contained in:
German Khokhlov committed 2026-11-03 20:00:55 +04:00
1 parent 31b1f27a2e
commit 37ea4e1f93
3 files changed
+24 -10

No files matched your search

+4 -1
View File
@@ -815,7 +815,9 @@ html:not([lang='en']) .pp-slider-row > .pp-slider-mini-label {
.map-stack-chip-row {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
/* One row, whatever the number of sources (six with Sentinel-2). */
grid-auto-flow: column;
grid-auto-columns: minmax(0, 1fr);
gap: 4px;
}
@@ -854,6 +856,7 @@ html:not([lang='en']) .pp-slider-row > .pp-slider-mini-label {
@media (max-width: 620px) {
.map-stack-chip-row {
grid-auto-flow: row;
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}