Skip to content

Commit 183db8c

Browse files
authored
Merge pull request #3 from lukebennett88/master
Force value to be a string so PostCSS does not append `px`
2 parents 42db023 + ea140a4 commit 183db8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const lineClamp = plugin(
1212
overflow: 'hidden',
1313
display: '-webkit-box',
1414
'-webkit-box-orient': 'vertical',
15-
'-webkit-line-clamp': value,
15+
'-webkit-line-clamp': `${value}`,
1616
},
1717
}
1818
}),

0 commit comments

Comments
 (0)