Browse Source

hide link edit on bang to not see unexpected behavior - still filtering links

main
Marek Piasecki 2 years ago
parent
commit
423f2adbdf
  1. 51
      src/components/app-home.imba

51
src/components/app-home.imba

@ -45,31 +45,32 @@ tag app-home
<self> <self>
css w:100% d:flex fld:column ofy:hidden gap:20px css w:100% d:flex fld:column ofy:hidden gap:20px
<.header> unless state.active_bang
css <.header>
d:hcl filter:grayscale(80%) css
> input d:hcl filter:grayscale(80%)
h:34px px:20px > input
fs:14px h:34px px:20px
bd:1px solid $input-bc fs:14px
outline:none rd:5px bd:1px solid $input-bc
bg:$input-bg c:$text-c outline:none rd:5px
caret-color:$input-caret-c bg:$input-bg c:$text-c
<[c:$button-c] @click=delete_link!> "⨯" caret-color:$input-caret-c
<input$link-input-title[ml:17px bdr:0 rdr:0] <[c:$button-c] @click=delete_link!> "⨯"
disabled=state.loading <input$link-input-title[ml:17px bdr:0 rdr:0]
@blur=blur disabled=state.loading
placeholder="title" @blur=blur
@keydown.enter.stop=edd_link! placeholder="title"
value=api.selected_link.title @keydown.enter.stop=edd_link!
> value=api.selected_link.title
<input$link-input-url[bdl:0 rdl:0 w:380px] >
disabled=state.loading <input$link-input-url[bdl:0 rdl:0 w:380px]
@blur=blur disabled=state.loading
placeholder="url" @blur=blur
@keydown.enter.stop=edd_link! placeholder="url"
value=api.selected_link.url @keydown.enter.stop=edd_link!
> value=api.selected_link.url
>
<.header> <.header>
css css

Loading…
Cancel
Save