Responsiveness of the header when logged in
This commit is contained in:
parent
85c1af2b50
commit
1d94ebbaa3
2 changed files with 9 additions and 2 deletions
|
@ -946,7 +946,9 @@ L.U.Map.include({
|
|||
L.DomUtil.createLink(
|
||||
'umap-user',
|
||||
rightContainer,
|
||||
L._(`My Dashboard ({username})`, { username: this.options.user.name }),
|
||||
L._(`My Dashboard <span>({username})</span>`, {
|
||||
username: this.options.user.name,
|
||||
}),
|
||||
this.options.user.url
|
||||
)
|
||||
}
|
||||
|
@ -954,7 +956,7 @@ L.U.Map.include({
|
|||
const controlEditCancel = L.DomUtil.createButton(
|
||||
'leaflet-control-edit-cancel',
|
||||
rightContainer,
|
||||
L._('Cancel edits'),
|
||||
L.DomUtil.add('span', '', null, L._('Cancel edits')),
|
||||
this.askForReset,
|
||||
this
|
||||
)
|
||||
|
|
|
@ -1549,6 +1549,7 @@ a.add-datalayer:hover,
|
|||
|
||||
@media all and (max-width: 980px) {
|
||||
|
||||
.umap-main-edit-toolbox .umap-user span,
|
||||
.leaflet-container .leaflet-control-edit-save span,
|
||||
.leaflet-container .leaflet-control-edit-disable span,
|
||||
.leaflet-container .leaflet-control-edit-cancel span {
|
||||
|
@ -1565,6 +1566,10 @@ a.add-datalayer:hover,
|
|||
}
|
||||
}
|
||||
@media all and (max-width: 640px) {
|
||||
.umap-main-edit-toolbox .umap-user {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.umap-main-edit-toolbox .map-name {
|
||||
max-width: 150px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue