diff --git a/docs-users/fr/tutorials/2-first-map.md b/docs-users/fr/tutorials/2-first-map.md index 21570f99..fa3a5904 100644 --- a/docs-users/fr/tutorials/2-first-map.md +++ b/docs-users/fr/tutorials/2-first-map.md @@ -90,7 +90,7 @@ texte est affiché en haut de la carte, comme celui ci-dessous : data-width="790" data-height="226" data-selector="#umap-alert-container" - data-wait-for="document.querySelector('#umap-alert-container .umap-alert-actions')" + data-wait-for="document.querySelector('#umap-alert-container .TODO')" data-javascript="document.querySelector('button.leaflet-control-edit-save').click()" >Message d’alerte contenant le lien d’édition. diff --git a/umap/static/umap/js/components/alerts/alert.css b/umap/static/umap/js/components/alerts/alert.css index 8715581d..85df668c 100644 --- a/umap/static/umap/js/components/alerts/alert.css +++ b/umap/static/umap/js/components/alerts/alert.css @@ -25,7 +25,7 @@ [role="dialog"] > div { margin: 0 auto; } -[role="dialog"] [data-close] { +[role="dialog"] [data-close].umap-close-link { color: #fff; max-width: 42px; line-height: initial; @@ -34,7 +34,7 @@ background-color: #202425; font-size: 0.7rem; } -[role="dialog"] [data-close] .icon + span { +[role="dialog"] [data-close].umap-close-link .icon + span { margin-left: 0; } #link-wrapper form { @@ -43,3 +43,19 @@ #link-wrapper form input[type='button'] { max-width: 100px; } +#choice-wrapper form { + display: flex; + justify-content: space-between; +} +@media only screen and (max-width:770px) { + #choice-wrapper form { + flex-direction: column; + } +} +#choice-wrapper form > * { + max-width: 300px; +} +umap-alert-choice a { + color: white; + text-decoration: underline; +} diff --git a/umap/static/umap/js/components/alerts/alert.html b/umap/static/umap/js/components/alerts/alert.html index 6380b902..cea8e628 100644 --- a/umap/static/umap/js/components/alerts/alert.html +++ b/umap/static/umap/js/components/alerts/alert.html @@ -20,14 +20,14 @@