Skip to content

Commit 9d395de

Browse files
authored
Fixed row taking space when none of the columns are filterable (#10)
* Fixes #9 * 0.2.2
1 parent 2b3ea72 commit 9d395de

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
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.2.1",
3+
"version": "0.2.2",
44
"description": "React-Redux data table",
55
"main": "lib/index.js",
66
"module": "es/index.js",

src/components/Td.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ const Td = styled.div.attrs(({ width: maxWidth }) => ({
1818
position: relative;
1919
overflow: hidden;
2020
font-size: 14px;
21+
22+
&:empty {
23+
padding: 0
24+
}
2125
`;
2226

2327
const ExtendedTd = styled(Td)(getExtendedStyles());

0 commit comments

Comments
 (0)