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:
parent
3722eacb08
commit
8b1b36f740
1 changed files with 10 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue