From 423f2adbdf86c1484c487cc09870affea3559d03 Mon Sep 17 00:00:00 2001 From: Marek Piasecki Date: Fri, 27 Jan 2023 13:23:09 +0100 Subject: [PATCH] hide link edit on bang to not see unexpected behavior - still filtering links --- src/components/app-home.imba | 51 ++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/src/components/app-home.imba b/src/components/app-home.imba index 058323a..2a75534 100644 --- a/src/components/app-home.imba +++ b/src/components/app-home.imba @@ -45,31 +45,32 @@ tag app-home css w:100% d:flex fld:column ofy:hidden gap:20px - <.header> - css - d:hcl filter:grayscale(80%) - > input - h:34px px:20px - fs:14px - bd:1px solid $input-bc - outline:none rd:5px - bg:$input-bg c:$text-c - caret-color:$input-caret-c - <[c:$button-c] @click=delete_link!> "⨯" - - + unless state.active_bang + <.header> + css + d:hcl filter:grayscale(80%) + > input + h:34px px:20px + fs:14px + bd:1px solid $input-bc + outline:none rd:5px + bg:$input-bg c:$text-c + caret-color:$input-caret-c + <[c:$button-c] @click=delete_link!> "⨯" + + <.header> css