From abb51284269d84de14d0a156c386c63dc596b9ab Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 12 Apr 2023 18:24:59 +0200 Subject: [PATCH] feat: add transition to input icons --- src/components/tasks/partials/quick-add-magic.vue | 3 +-- src/styles/theme/form.scss | 8 +++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/tasks/partials/quick-add-magic.vue b/src/components/tasks/partials/quick-add-magic.vue index 031493e6a..3cdb76387 100644 --- a/src/components/tasks/partials/quick-add-magic.vue +++ b/src/components/tasks/partials/quick-add-magic.vue @@ -107,10 +107,9 @@ const mode = ref(getQuickAddMagicMode()) const prefixes = computed(() => PREFIXES[mode.value]) - diff --git a/src/styles/theme/form.scss b/src/styles/theme/form.scss index 86c78f2fd..dc2ac1205 100644 --- a/src/styles/theme/form.scss +++ b/src/styles/theme/form.scss @@ -57,7 +57,7 @@ } .field.has-addons .control .select select { - height: 100%; + height: 100%; } .control.has-icons-left .icon, @@ -103,3 +103,9 @@ h1, h2, h3 { height: auto; } } + +// Global style, because the rest of this styling is imported from bulma +.control.has-icons-left .icon, +.control.has-icons-right .icon { + transition: all $transition; +}