summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-03-26 16:37:14 +0100
committerGitHub <noreply@github.com>2024-03-26 15:37:14 +0000
commit30a561ce569fcb1dfc12edf658104a126281494d (patch)
treefcc97aab514263ebbc6cb19e99fcc6ebd4bac18b
parent0c8b828f5d5ac7eb8e251edfb1f2536ce1c30336 (diff)
downloadgitea-30a561ce569fcb1dfc12edf658104a126281494d.tar.gz
gitea-30a561ce569fcb1dfc12edf658104a126281494d.zip
Restore aligned grid column CSS (#30106)
Fixes #30097, regression from #29894.
-rw-r--r--web_src/css/modules/grid.css18
1 files changed, 18 insertions, 0 deletions
diff --git a/web_src/css/modules/grid.css b/web_src/css/modules/grid.css
index 5a80576c8a..4aaa452372 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 {