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', 'a',
'umap-user', 'umap-user',
container, container,
this.options.user.name L._(`My maps ({username})`, {username: this.options.user.name})
) )
userLabel.href = this.options.user.url userLabel.href = this.options.user.url
} }

View file

@ -465,6 +465,7 @@ ul.photon-autocomplete {
.umap-main-edit-toolbox a { .umap-main-edit-toolbox a {
color: #fff; color: #fff;
font-size: 1.2em; font-size: 1.2em;
vertical-align: middle;
} }
.umap-main-edit-toolbox a:hover { .umap-main-edit-toolbox a:hover {
text-decoration: underline; text-decoration: underline;
@ -475,12 +476,11 @@ ul.photon-autocomplete {
overflow: hidden; overflow: hidden;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
vertical-align: middle;
margin-right: 5px; margin-right: 5px;
font-weight: bold; font-weight: bold;
} }
.umap-main-edit-toolbox .share-status { .umap-main-edit-toolbox .share-status {
margin: 0 5px; margin: 0 20px;
} }
.umap-edit-enabled .umap-main-edit-toolbox { .umap-edit-enabled .umap-main-edit-toolbox {
top: 0; top: 0;
@ -492,15 +492,8 @@ ul.photon-autocomplete {
.umap-main-edit-toolbox h3 { .umap-main-edit-toolbox h3 {
display: inline; display: inline;
} }
.umap-main-edit-toolbox .umap-user:before { .umap-main-edit-toolbox .umap-user {
content: '|'; margin-right: 20px;
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-edit-enabled .leaflet-top { .umap-edit-enabled .leaflet-top {
top: 48px; top: 48px;