From: Andy Allan Date: Wed, 15 Nov 2023 15:08:23 +0000 (+0000) Subject: Remove global text-align declarations X-Git-Tag: live~1008^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/3c7b7cef70bbe705498a7f322374ff33e2a19142?ds=inline;hp=-c Remove global text-align declarations These interfere with directions set in `dir` attributes, e.g. `dir='auto'`. The corresponding text-align was removed in Bootstrap 5. Fixes #3432. --- 3c7b7cef70bbe705498a7f322374ff33e2a19142 diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 5d7c61db3..f91f380b2 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -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 {