Merge pull request #110 from modrinth/fix/dropdown-icon-animation

Only animate the dropdown svg if last child
This commit is contained in:
Prospector
2023-10-20 09:11:59 -07:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -488,12 +488,12 @@ a,
} }
&.btn-dropdown-animation { &.btn-dropdown-animation {
svg { svg:last-child {
transition: transform 0.125s ease-in-out; transition: transform 0.125s ease-in-out;
} }
&.popout-open { &.popout-open {
svg { svg:last-child {
transform: rotate(180deg); transform: rotate(180deg);
} }
} }

View File

@@ -1,7 +1,7 @@
{ {
"name": "omorphia", "name": "omorphia",
"type": "module", "type": "module",
"version": "0.6.0", "version": "0.6.1",
"files": [ "files": [
"dist" "dist"
], ],