Skip to content

Commit ea140a4

Browse files
committed
Force value to be a string so PostCSS does not append px
1 parent 42db023 commit ea140a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)