Skip to content

Commit

Permalink
fix(data-table): update position of th cells to preserve border in Fi…
Browse files Browse the repository at this point in the history
…refox (#4822)
  • Loading branch information
jendowns authored and asudoh committed Dec 6, 2019
1 parent be586b8 commit f5325f7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@
}

.#{$prefix}--data-table th:last-of-type {
position: relative;
// Do not use `position: relative`, as its behavior is undefined for many table elements: https://www.w3.org/TR/CSS21/visuren.html#propdef-position
position: static;
width: auto;
}

Expand Down Expand Up @@ -250,7 +251,8 @@
}

.#{$prefix}--data-table th.#{$prefix}--table-column-checkbox {
position: relative;
// Do not use `position: relative`, as its behavior is undefined for many table elements: https://www.w3.org/TR/CSS21/visuren.html#propdef-position
position: static;
background: $ui-03;
padding: rem(12px) $spacing-03 0 $spacing-05;
width: rem(
Expand Down

0 comments on commit f5325f7

Please sign in to comment.