Merge pull request #733 from mjaschen/fix/overlay-dialog-long-lines

Wrap long URLs in custom layers overlay
This commit is contained in:
Norbert Renner 2023-06-05 21:57:47 +02:00 committed by GitHub
commit bdb7d1f650
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View file

@ -750,6 +750,12 @@ table.dataTable.display tbody tr:hover.selected {
height: 23px;
}
.custom_layers_url {
word-break: break-all;
font-family: monospace;
font-size: 0.9rem;
}
#layers-button-group {
display: flex;
justify-content: space-between;

View file

@ -44,7 +44,7 @@ BR.Layers = L.Class.extend({
},
columns: [
{ title: i18next.t('sidebar.layers.table.name') },
{ title: i18next.t('sidebar.layers.table.URL') },
{ title: i18next.t('sidebar.layers.table.URL'), className: 'custom_layers_url' },
{ title: i18next.t('sidebar.layers.table.type') },
],
});