Skip to content

Commit

Permalink
fix: max lines style properties (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
2nthony authored Jan 16, 2024
1 parent 1703875 commit d5a4cbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HtmlPreviewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export function HtmlPreviewer(props: PreviewerProps) {
style={{
...(maxLines && {
display: "-webkit-box",
"-webkit-line-clamp": maxLines,
"-webkit-box-orient": "vertical",
overflow: "hidden",
WebkitLineClamp: maxLines,
WebkitBoxOrient: "vertical",
}),
...(minHeight && { minHeight }),
}}
Expand Down

0 comments on commit d5a4cbd

Please sign in to comment.