wip: refactor credits css in caption
This commit is contained in:
parent
6cc34d1f97
commit
5bfc65167a
2 changed files with 6 additions and 2 deletions
|
@ -722,7 +722,6 @@ const ControlsMixin = {
|
|||
} else {
|
||||
L.DomUtil.add('p', '', credits, L._('No licence has been set'))
|
||||
}
|
||||
L.DomUtil.create('hr', '', credits)
|
||||
title = L.DomUtil.create('h5', '', credits)
|
||||
title.textContent = L._('Map background credits')
|
||||
const tilelayerCredit = L.DomUtil.create('p', '', credits)
|
||||
|
@ -736,7 +735,6 @@ const ControlsMixin = {
|
|||
parent: tilelayerCredit,
|
||||
safeHTML: this.selected_tilelayer.getAttribution(),
|
||||
})
|
||||
L.DomUtil.create('hr', '', credits)
|
||||
const urls = {
|
||||
leaflet: 'http://leafletjs.com',
|
||||
django: 'https://www.djangoproject.com',
|
||||
|
|
|
@ -158,6 +158,12 @@
|
|||
margin-bottom: 5px!important;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
.credits-container h5 {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.credits-container p {
|
||||
margin-top: 5px;
|
||||
}
|
||||
.attribution-toggle {
|
||||
display: none;
|
||||
width: 24px;
|
||||
|
|
Loading…
Reference in a new issue