Browse Source

fix wrapping on search and bangs

main
familyfriendlymikey 2 years ago
parent
commit
57df3f1055
  1. 10
      app/client.imba

10
app/client.imba

@ -373,7 +373,11 @@ tag app
w:20px h:20px mr:10px rd:3px w:20px h:20px mr:10px rd:3px
css .name css .name
tt:capitalize fs:20px overflow-wrap:anywhere tt:capitalize fs:20px
overflow-wrap:anywhere
css .search
tt:none word-break:break-all
css .link-right css .link-right
d:flex fld:row jc:space-between ai:center w:70px d:flex fld:row jc:space-between ai:center w:70px
@ -457,7 +461,7 @@ tag app
> >
<.link-left> <.link-left>
<img.link-icon src=bang.img> <img.link-icon src=bang.img>
<.name[tt:none]> encoded_bang_query <.name.search> encoded_bang_query
<.link-right[jc:flex-end]> <.link-right[jc:flex-end]>
<.frequency> bang.frequency <.frequency> bang.frequency
elif state.scored_links.length > 0 elif state.scored_links.length > 0
@ -481,7 +485,7 @@ tag app
> >
<.link-left> <.link-left>
<img.link-icon src=config.search_engine.icon> <img.link-icon src=config.search_engine.icon>
<.name[tt:none]> encoded_search_query <.name.search> encoded_search_query
<.link-right[jc:flex-end]> <.link-right[jc:flex-end]>
<.frequency> config.search_engine.frequency <.frequency> config.search_engine.frequency
$main-input.focus! $main-input.focus!

Loading…
Cancel
Save