Make the map editor accept a click, and unclutter its panel

This commit is contained in:
2026-08-17 15:21:34 -04:00
parent 4c3d5746e8
commit 3af77bdb5b
2 changed files with 38 additions and 11 deletions

View File

@@ -518,13 +518,27 @@ function cancelEdit() {
}
.panel-header {
/* The heading takes its own row and the three controls share the next one(s).
All four on a single row inside a 320px panel squeezed the search box until
its placeholder read "Search na". */
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.5rem;
align-items: center;
padding: 1rem;
border-bottom: 1px solid var(--border);
}
.panel-header h3 {
flex: 1 1 100%;
}
.panel-header .form-control {
/* Shrinkable and equal, so nothing gets crushed to fit a sibling. */
flex: 1 1 8rem;
min-width: 0;
}
.panel-header h3 {
margin: 0;
font-size: 1rem;