Merge pull request #879 from nasa/table-headers-809

[Table] Fix headers in firefox
This commit is contained in:
Andrew Henry
2016-05-05 13:29:03 -07:00

View File

@ -34,17 +34,28 @@
} }
.mct-table { .mct-table {
table-layout: fixed; table-layout: fixed;
th { thead {
box-sizing: border-box; display: block;
tr {
display: block;
white-space: nowrap;
th {
display: inline-block;
box-sizing: border-box;
}
}
} }
tbody { tbody {
tr { tr {
position: absolute; position: absolute;
white-space: nowrap;
display: block;
} }
td { td {
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
box-sizing: border-box; box-sizing: border-box;
display: inline-block;
} }
} }
} }