Skip to content

Commit

Permalink
Prevent showing outline-box on Chromium when clicking on a vector wit…
Browse files Browse the repository at this point in the history
…h a tooltip (Leaflet#9393)
  • Loading branch information
Falke-Design authored Jul 17, 2024
1 parent ea760ce commit 0ba9ede
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dist/leaflet.css
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ svg.leaflet-image-layer.leaflet-interactive path {
.leaflet-container a {
color: #0078A8;
}
/* prevent showing outline-box on Chromium when clicking on a vector with a tooltip */
path.leaflet-interactive:focus:not(:focus-visible) {
outline: 0;
}

.leaflet-zoom-box {
border: 2px dotted #38f;
background: rgba(255,255,255,0.5);
Expand Down

0 comments on commit 0ba9ede

Please sign in to comment.