Browse Source

fix scroll behavior for app-tips.more

main
familyfriendlymikey 2 years ago
parent
commit
fe1c4bde7b
  1. 2
      app/components/app-links.imba
  2. 4
      app/components/app-tips.imba

2
app/components/app-links.imba

@ -96,7 +96,7 @@ tag app-links
<app-tips$tips tips=tips> <app-tips$tips tips=tips>
<.links> <.links>
css ofy:scroll css ofy:auto
for link, index in state.sorted_links for link, index in state.sorted_links
<app-link link=link index=index handle_edit=handle_edit> <app-link link=link index=index handle_edit=handle_edit>

4
app/components/app-tips.imba

@ -50,7 +50,7 @@ tag app-tips
let chunks = get_chunks! let chunks = get_chunks!
<self[d:none]=!config.data.enable_tips> <self[d:none]=!config.data.enable_tips>
css d:flex fld:column gap:15px css d:flex fld:column gap:15px max-height:75%
css .tip-row css .tip-row
d:flex fld:row w:100% fl:1 d:flex fld:row w:100% fl:1
@ -76,7 +76,7 @@ tag app-tips
css transform:rotate(180deg) css transform:rotate(180deg)
<.more> <.more>
css d:flex fld:column gap:15px css d:flex fld:column gap:15px ofy:auto
unless show_more unless show_more
css d:none css d:none

Loading…
Cancel
Save