From 4be7349d99c2d35a45cbe9d5ed6bb6846674aa07 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Wed, 25 Nov 2020 12:58:20 +1100 Subject: [PATCH] Improve input error styles - Use outline instead of border - Remove unecessary padding and margin --- assets/stylesheets/wizard/custom/field.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/stylesheets/wizard/custom/field.scss b/assets/stylesheets/wizard/custom/field.scss index 663d8508..c791d41a 100644 --- a/assets/stylesheets/wizard/custom/field.scss +++ b/assets/stylesheets/wizard/custom/field.scss @@ -34,8 +34,7 @@ &.invalid { textarea, input[type=text], input[type=checkbox], .select-kit { - padding: 3px; - border: 4px solid var(--danger); + outline: 4px solid var(--danger); } } } @@ -51,6 +50,7 @@ input { cursor: pointer; transform: scale(1.3); + margin-bottom: 0; } }