Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #110 from modrinth/fix/dropdown-icon-animation
Browse files Browse the repository at this point in the history
Only animate the dropdown svg if last child
  • Loading branch information
Prospector authored Oct 20, 2023
2 parents a3d4db9 + 7c596d6 commit 97cb5bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/assets/styles/classes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -488,12 +488,12 @@ a,
}

&.btn-dropdown-animation {
svg {
svg:last-child {
transition: transform 0.125s ease-in-out;
}

&.popout-open {
svg {
svg:last-child {
transform: rotate(180deg);
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "omorphia",
"type": "module",
"version": "0.6.0",
"version": "0.6.1",
"files": [
"dist"
],
Expand Down

0 comments on commit 97cb5bc

Please sign in to comment.