Skip to content

Commit

Permalink
Wrap long URLs in custom layers overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaschen committed Jun 2, 2023
1 parent 4d3d919 commit b78e0e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion js/control/Layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') },
],
});
Expand Down

0 comments on commit b78e0e8

Please sign in to comment.