Merge pull request #1117 from umap-project/table-break-word

Fix width of columns in popups and tables
This commit is contained in:
Yohan Boniface 2023-06-02 21:06:47 +02:00 committed by GitHub
commit e1b18c5daf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;