Skip to content

Commit c6d326b

Browse files
committed
Merge pull request nasa#879 from nasa/table-headers-809
[Table] Fix headers in firefox
2 parents d60bc08 + 1c6ef28 commit c6d326b

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

platform/features/table/res/sass/table.scss

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,28 @@
3434
}
3535
.mct-table {
3636
table-layout: fixed;
37-
th {
38-
box-sizing: border-box;
37+
thead {
38+
display: block;
39+
tr {
40+
display: block;
41+
white-space: nowrap;
42+
th {
43+
display: inline-block;
44+
box-sizing: border-box;
45+
}
46+
}
3947
}
4048
tbody {
4149
tr {
4250
position: absolute;
51+
white-space: nowrap;
52+
display: block;
4353
}
4454
td {
4555
white-space: nowrap;
4656
overflow: hidden;
4757
box-sizing: border-box;
58+
display: inline-block;
4859
}
4960
}
50-
}
61+
}

0 commit comments

Comments
 (0)