Wrap long URLs in custom layers overlay

This commit is contained in:
Marcus Jaschen 2023-06-02 08:06:55 +02:00
parent 4d3d919ed0
commit b78e0e82ce
2 changed files with 7 additions and 1 deletions

View file

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

View file

@ -44,7 +44,7 @@ BR.Layers = L.Class.extend({
}, },
columns: [ columns: [
{ title: i18next.t('sidebar.layers.table.name') }, { 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') }, { title: i18next.t('sidebar.layers.table.type') },
], ],
}); });