From d22ae22aad5d38c353b7348ee82d1b867b618ba7 Mon Sep 17 00:00:00 2001 From: Pablo Alba Date: Wed, 10 Apr 2024 10:40:35 +0200 Subject: [PATCH] :bug: Fix no visual cue if user want to create anotation with only spaces --- .../main/ui/workspace/sidebar/options/menus/component.cljs | 2 +- .../main/ui/workspace/sidebar/options/menus/component.scss | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs index 570b25faf..8ae04081b 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.cljs @@ -184,7 +184,7 @@ :class (stl/css-case :icon true :icon-tick true - :hidden invalid-text?)} + :invalid invalid-text?)} i/tick] [:div {:class (stl/css :icon :icon-cross) :title (tr "labels.discard") diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.scss b/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.scss index d024187a7..18300d371 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.scss +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/component.scss @@ -566,6 +566,13 @@ } } + &.icon-tick.invalid:hover { + cursor: default; + svg { + stroke: var(--icon-foreground); + } + } + &.icon-cross:hover, &.icon-trash:hover { svg {