Change "my maps" link label in edit toolbar

This commit is contained in:
Yohan Boniface 2023-07-25 09:59:35 +02:00
parent b48b4ce2d3
commit 7287d4a528
2 changed files with 5 additions and 12 deletions

View file

@ -1826,7 +1826,7 @@ L.U.Map.include({
'a',
'umap-user',
container,
this.options.user.name
L._(`My maps ({username})`, {username: this.options.user.name})
)
userLabel.href = this.options.user.url
}

View file

@ -465,6 +465,7 @@ ul.photon-autocomplete {
.umap-main-edit-toolbox a {
color: #fff;
font-size: 1.2em;
vertical-align: middle;
}
.umap-main-edit-toolbox a:hover {
text-decoration: underline;
@ -475,12 +476,11 @@ ul.photon-autocomplete {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
vertical-align: middle;
margin-right: 5px;
font-weight: bold;
}
.umap-main-edit-toolbox .share-status {
margin: 0 5px;
margin: 0 20px;
}
.umap-edit-enabled .umap-main-edit-toolbox {
top: 0;
@ -492,15 +492,8 @@ ul.photon-autocomplete {
.umap-main-edit-toolbox h3 {
display: inline;
}
.umap-main-edit-toolbox .umap-user:before {
content: '|';
color: #fff;
padding-right: 10px;
background-image: url('./img/16-white.svg');
background-repeat: no-repeat;
display: inline-block;
background-position: -40px -115px;
width: 20px;
.umap-main-edit-toolbox .umap-user {
margin-right: 20px;
}
.umap-edit-enabled .leaflet-top {
top: 48px;