Skip to content

Commit

Permalink
Force value to be a string so PostCSS does not append px
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebennett88 committed Jan 7, 2021
1 parent 42db023 commit ea140a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -12,7 +12,7 @@ const lineClamp = plugin(
overflow: 'hidden',
display: '-webkit-box',
'-webkit-box-orient': 'vertical',
'-webkit-line-clamp': value,
'-webkit-line-clamp': `${value}`,
},
}
}),
Expand Down

0 comments on commit ea140a4

Please sign in to comment.