Skip to content

Commit 18ff042

Browse files
committed
Missing height on table body row
1 parent baadf6c commit 18ff042

File tree

1 file changed

+1
-1
lines changed
  • src/styled-components

1 file changed

+1
-1
lines changed

src/styled-components/Tr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const StyledTr = styled(Tr).attrs(({ top, left }) => ({
1616
display: flex;
1717
width: auto;
1818
padding: 0;
19-
height: auto;
19+
height: ${props => props.height ? `${props.height}px` : 'auto'};
2020
position: relative;
2121
background: none;
2222
position: ${props => props.position || 'relative'};

0 commit comments

Comments
 (0)