From 3c7b7cef70bbe705498a7f322374ff33e2a19142 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 15 Nov 2023 15:08:23 +0000 Subject: [PATCH] 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. --- app/assets/stylesheets/common.scss | 4 ---- 1 file changed, 4 deletions(-) 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 { -- 2.39.5