From 4972276b1e8f9c495757b64dcf9fa3a45d1490d2 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Fri, 19 Nov 2021 11:44:57 -0300 Subject: [PATCH] Update to input error display --- src/views/admin/scss/_inputs.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/admin/scss/_inputs.scss b/src/views/admin/scss/_inputs.scss index 204843faf..5b790e9b4 100644 --- a/src/views/admin/scss/_inputs.scss +++ b/src/views/admin/scss/_inputs.scss @@ -35,8 +35,10 @@ input[type="week"].input { &:focus, &:active { box-shadow: none !important; - background-color: var(--tainacan-input-background-color); + } + &:not(.is-danger):focus, &:not(.is-danger):active { border: 1px solid var(--tainacan-gray4) !important; + background-color: var(--tainacan-input-background-color); } &:hover { border: 1px solid var(--tainacan-gray3); @@ -66,3 +68,7 @@ input[type="week"].input { color: var(--tainacan-info-color) !important; } } +textarea.textarea, +.textarea { + line-height: 1.35em; +}