Restore aligned grid column CSS (#30106)

Fixes #30097, regression from #29894.

(cherry picked from commit 30a561ce569fcb1dfc12edf658104a126281494d)
This commit is contained in:
silverwind 2024-03-26 16:37:14 +01:00 committed by Earl Warren
parent ef800a7ff1
commit c7091d5476
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -406,6 +406,15 @@
align-self: center !important; 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 > .column,
.ui[class*="center aligned"].grid > .row > .column, .ui[class*="center aligned"].grid > .row > .column,
.ui.grid > [class*="center aligned"].row > .column, .ui.grid > [class*="center aligned"].row > .column,
@ -418,6 +427,15 @@
justify-content: center; 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 > .column:not(.row),
.ui[class*="equal width"].grid > .row > .column, .ui[class*="equal width"].grid > .row > .column,
.ui.grid > [class*="equal width"].row > .column { .ui.grid > [class*="equal width"].row > .column {