Merge pull request #1117 from umap-project/table-break-word
Fix width of columns in popups and tables
This commit is contained in:
commit
e1b18c5daf
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