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 if show_more
css rd:0 css rd:0
css svg w:15px
if show_more
<svg src="../assets/chevron-down.svg"> <svg src="../assets/chevron-down.svg">
else css w:15px transition:transform 150ms
<svg src="../assets/chevron-up.svg"> if show_more
css transform:rotate(180deg)
<.more> <.more>
css d:flex fld:column gap:15px css d:flex fld:column gap:15px

Loading…
Cancel
Save