Skip to content

Commit

Permalink
Added text-indent property to pan_zoom map buttons
Browse files Browse the repository at this point in the history
This prevent the odd extra rectangles when the element is being focused, which is a bit confusing.
  • Loading branch information
lucascumsille authored and dracos committed Aug 23, 2024
1 parent 37b7e0a commit f573cf6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/cobrands/sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1958,6 +1958,7 @@ html.js #map .noscript {
filter: none !important; // Override OpenLayers PNG handling of the navigation
background-color: #222222;
color: transparent !important;
text-indent: -9999px; // This prevent the odd extra rectangles when the button is being focused. Screen readers still announce the content.

&:focus {
background-color: #222; // In case there is rule in a cobrand overriding the background of links.
Expand Down

0 comments on commit f573cf6

Please sign in to comment.