Skip to content

Commit

Permalink
Remove global text-align declarations
Browse files Browse the repository at this point in the history
These interfere with directions set in `dir` attributes, e.g. `dir='auto'`.

The corresponding text-align was removed in Bootstrap 5.

Fixes openstreetmap#3432.
  • Loading branch information
gravitystorm committed Nov 15, 2023
1 parent 1ce5d7d commit 3c7b7ce
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/assets/stylesheets/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ small, aside {
margin-right: $lineheight * 0.25;
}

[dir=rtl] { /* no-r2 */ text-align: right; }

[dir=ltr] { /* no-r2 */ text-align: left; }

/* Rules for icons */

.icon {
Expand Down

0 comments on commit 3c7b7ce

Please sign in to comment.