Make the map editor accept a click, and unclutter its panel
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user