fix: sutle animation to icon when section open/close
This commit is contained in:
parent
d39ce62d6a
commit
4a0216f180
@ -90,8 +90,9 @@
|
|||||||
@click="toggle()"
|
@click="toggle()"
|
||||||
>
|
>
|
||||||
<FeatherIcon
|
<FeatherIcon
|
||||||
:name="opened ? 'chevron-up' : 'chevron-down'"
|
name="chevron-right"
|
||||||
class="h-4 text-gray-600"
|
class="h-4 text-gray-600 transition-all duration-200 ease-in-out"
|
||||||
|
:class="{ 'rotate-90': opened }"
|
||||||
/>
|
/>
|
||||||
{{ section.label }}
|
{{ section.label }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user