Merge pull request #110 from modrinth/fix/dropdown-icon-animation
Only animate the dropdown svg if last child
This commit is contained in:
commit
97cb5bc12c
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "omorphia",
|
"name": "omorphia",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.6.0",
|
"version": "0.6.1",
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user