Fix width of columns in popups and tables

See https://umap.openstreetmap.fr/en/map/example01_923828#5/53.606/9.009 for example
This commit is contained in:
David Larlet 2023-06-02 14:24:28 -04:00
parent 3722eacb08
commit 8b1b36f740
No known key found for this signature in database
GPG key ID: 3E2953A359E7E7BD

View file

@ -1318,10 +1318,19 @@ a.add-datalayer:hover,
min-width: 310px;
max-width: 100%;
}
.umap-popup-content th,
.umap-popup-content tr:nth-child(odd) {
background-color: #f6f6f6;
}
.umap-popup-content th {
text-align: left;
}
.umap-popup-content td {
word-break: break-word;
}
.umap-popup-content th,
.umap-popup-content td {
padding: 1px 3px;
}
.umap-popup-container {
flex-grow: 1;
padding: 0 10px;