From c7091d54760ccaab8ac9dc581ff20d98625b6ea1 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 26 Mar 2024 16:37:14 +0100 Subject: [PATCH] Restore aligned grid column CSS (#30106) Fixes #30097, regression from #29894. (cherry picked from commit 30a561ce569fcb1dfc12edf658104a126281494d) --- web_src/css/modules/grid.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/web_src/css/modules/grid.css b/web_src/css/modules/grid.css index 5a80576c8..4aaa45237 100644 --- a/web_src/css/modules/grid.css +++ b/web_src/css/modules/grid.css @@ -406,6 +406,15 @@ align-self: center !important; } +.ui[class*="left aligned"].grid > .column, +.ui[class*="left aligned"].grid > .row > .column, +.ui.grid > [class*="left aligned"].row > .column, +.ui.grid > [class*="left aligned"].column.column, +.ui.grid > .row > [class*="left aligned"].column.column { + text-align: left; + align-self: inherit; +} + .ui[class*="center aligned"].grid > .column, .ui[class*="center aligned"].grid > .row > .column, .ui.grid > [class*="center aligned"].row > .column, @@ -418,6 +427,15 @@ justify-content: center; } +.ui[class*="right aligned"].grid > .column, +.ui[class*="right aligned"].grid > .row > .column, +.ui.grid > [class*="right aligned"].row > .column, +.ui.grid > [class*="right aligned"].column.column, +.ui.grid > .row > [class*="right aligned"].column.column { + text-align: right; + align-self: inherit; +} + .ui[class*="equal width"].grid > .column:not(.row), .ui[class*="equal width"].grid > .row > .column, .ui.grid > [class*="equal width"].row > .column {