mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 00:55:25 +00:00
Only animate the dropdown svg if last child
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user