Skip to content

Commit b08c7af

Browse files
authored
Fix table alignment classes (#30144)
Fixes #30142, regression from #30047. I searched the codebase and only `bottom aligned` was definitely not in use so I removed it.
1 parent e516018 commit b08c7af

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

web_src/css/modules/table.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,31 @@
152152
}
153153
}
154154

155+
.ui.table[class*="left aligned"],
156+
.ui.table [class*="left aligned"] {
157+
text-align: left;
158+
}
159+
160+
.ui.table[class*="center aligned"],
161+
.ui.table [class*="center aligned"] {
162+
text-align: center;
163+
}
164+
165+
.ui.table[class*="right aligned"],
166+
.ui.table [class*="right aligned"] {
167+
text-align: right;
168+
}
169+
170+
.ui.table[class*="top aligned"],
171+
.ui.table [class*="top aligned"] {
172+
vertical-align: top;
173+
}
174+
175+
.ui.table[class*="middle aligned"],
176+
.ui.table [class*="middle aligned"] {
177+
vertical-align: middle;
178+
}
179+
155180
.ui.table th.collapsing,
156181
.ui.table td.collapsing {
157182
width: 1px;

0 commit comments

Comments
 (0)