Browse Source

make tips chevron rotate with transition

main
familyfriendlymikey 2 years ago
parent
commit
50c1feb2fc
  1. 7
      app/components/app-tips.imba

7
app/components/app-tips.imba

@ -70,11 +70,10 @@ tag app-tips
if show_more
css rd:0
css svg w:15px
if show_more
<svg src="../assets/chevron-down.svg">
else
<svg src="../assets/chevron-up.svg">
css w:15px transition:transform 150ms
if show_more
css transform:rotate(180deg)
<.more>
css d:flex fld:column gap:15px

Loading…
Cancel
Save