Skip to content

Commit

Permalink
fix(ellipsis): fix an issue where webkit prefixes were not properly a…
Browse files Browse the repository at this point in the history
…pplied
  • Loading branch information
bhough committed Oct 8, 2020
1 parent 0da1850 commit fdcc97c
Show file tree
Hide file tree
Showing 3 changed files with 363 additions and 345 deletions.
5 changes: 3 additions & 2 deletions docs/assets/polished.js
Original file line number Diff line number Diff line change
Expand Up @@ -1145,9 +1145,10 @@
wordWrap: 'normal'
};
return lines > 1 ? _extends__default['default']({}, styles, {
WebkitBoxOrient: 'vertical',
WebkitLineClamp: lines,
display: '-webkit-box',
webkitLineClamp: lines,
webkitBoxOrient: 'vertical'
whiteSpace: 'normal'
}) : styles;
}

Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polished",
"version": "4.0.1",
"version": "4.0.2",
"description": "A lightweight toolset for writing styles in Javascript.",
"license": "MIT",
"author": "Brian Hough <hello@brianhough.net> (https://polished.js.org)",
Expand Down Expand Up @@ -76,7 +76,7 @@
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.2",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.0.1",
"babel-jest": "^26.5.2",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"babel-plugin-preval": "5.0.0",
Expand All @@ -89,14 +89,14 @@
"flow-bin": "^0.133.0",
"flow-copy-source": "^2.0.8",
"husky": "^4.2.5",
"jest": "^26.0.1",
"jest": "^26.5.2",
"lint-staged": "^10.4.0",
"npm-watch": "^0.7.0",
"prettier": "^2.0.5",
"pushstate-server": "^3.1.0",
"ramda": "^0.27.0",
"rollup": "^2.28.2",
"rollup-plugin-sourcemaps": "^0.6.2",
"rollup": "^2.29.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"semantic-release": "^17.1.2",
"shx": "^0.3.2",
Expand Down

0 comments on commit fdcc97c

Please sign in to comment.