Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
fix(Table): convert stickyHeaderOffset to rem unit
Browse files Browse the repository at this point in the history
  • Loading branch information
diondiondion committed Sep 20, 2019
1 parent defb0df commit a2c4279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Table/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const StyledTable = styled.table`
thead th {
position: sticky;
top: ${p => p.stickyHeaderOffset};
top: ${p => pxToRem(p.stickyHeaderOffset) || 0};
z-index: ${p => p.theme.globals.z.raised};
background-color: ${p => p.theme.background};
Expand Down

0 comments on commit a2c4279

Please sign in to comment.