Skip to content

Commit

Permalink
Rotate the svg instead of its container
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarni committed Dec 8, 2016
1 parent 28e0e62 commit 4826e7c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

# v3.0.3
* Fix svg caret that was jumping up and down due to it's (slightly bigger) container being rotated instead of the actual icon itself

# v3.0.2
* Fix compatability with IE.
* Remove any implicit dependencies on polyfills by remomving array functions not supported in IE
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nfe-account-selector-react",
"version": "3.0.2",
"version": "3.0.3",
"main": "lib/account-selector.js",
"scripts": {
"build": "babel -d lib/. --ignore=*.test.js src/.",
Expand Down
5 changes: 4 additions & 1 deletion styles/account-selector.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
}

&__dropdown-icon--reverse {
transform: rotate(180deg);

svg {
transform: rotate(180deg);
}
}

&__output {
Expand Down

0 comments on commit 4826e7c

Please sign in to comment.