Skip to content

Commit

Permalink
Restore aligned grid column CSS (#30106)
Browse files Browse the repository at this point in the history
Fixes #30097, regression from #29894.
  • Loading branch information
silverwind authored Mar 26, 2024
1 parent 0c8b828 commit 30a561c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions web_src/css/modules/grid.css
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 {
Expand Down

0 comments on commit 30a561c

Please sign in to comment.