Skip to content

Commit

Permalink
Merge pull request #94 from stormid/feature/safari-table-relative
Browse files Browse the repository at this point in the history
Update to fix tr positioning in safari
  • Loading branch information
sarah-storm authored Aug 29, 2024
2 parents 526a75c + 591d4a4 commit 696e8e1
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/css/base/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
}
.tr {
position: relative;
transform: translate(0);
background-color: white;
&:hover {
background-color: transparent;
Expand Down Expand Up @@ -83,16 +84,4 @@
}
}

//Dirty safari hack since it doesn't support relative positioning on tr
//https://stackoverflow.com/questions/16348489/is-there-a-css-hack-to-affect-safari-only-not-chrome
@media not all and (min-resolution:.001dpcm)
{ @supports (-webkit-appearance:none) {
.td__link {
text-decoration: underline;
}
.td__link:before,
.td__link:after {
display: none;
}
}}
}

0 comments on commit 696e8e1

Please sign in to comment.