]> git.openstreetmap.org Git - rails.git/commitdiff
Remove global text-align declarations
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 15 Nov 2023 15:08:23 +0000 (15:08 +0000)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 15 Nov 2023 15:08:23 +0000 (15:08 +0000)
These interfere with directions set in `dir` attributes, e.g. `dir='auto'`.

The corresponding text-align was removed in Bootstrap 5.

Fixes #3432.

app/assets/stylesheets/common.scss

index 5d7c61db3522a0214176ba7d5b3afb4e9b6af579..f91f380b2fcc357e93498fed878c1e6f5c6262ca 100644 (file)
@@ -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 {