Skip to content

Commit d63b65c

Browse files
authored
Merge pull request #53 from easeq/master
Table body row height fix
2 parents baadf6c + dbbbcc1 commit d63b65c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flipbyte/redux-datatable",
3-
"version": "0.7.9",
3+
"version": "0.7.10",
44
"description": "React-Redux data table",
55
"main": "lib/index.js",
66
"module": "es/index.js",

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)