From 08234c496d16be3f7317d411cff66b2d996180e1 Mon Sep 17 00:00:00 2001 From: nonamethanks Date: Thu, 26 Aug 2021 13:32:16 +0200 Subject: [PATCH] Fix url fields in forms not having the same length as other text inputs --- app/javascript/src/styles/common/simple_form.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/src/styles/common/simple_form.scss b/app/javascript/src/styles/common/simple_form.scss index 2d290762f..9ecc37b4f 100644 --- a/app/javascript/src/styles/common/simple_form.scss +++ b/app/javascript/src/styles/common/simple_form.scss @@ -30,7 +30,7 @@ form.simple_form { div.input { margin-bottom: 1em; - input[type=text], input[type=file], input[type=password], input[type=email] { + input[type=text], input[type=file], input[type=password], input[type=email], input[type=url] { width: 100%; max-width: 25em; } @@ -44,7 +44,7 @@ form.simple_form { } } - &.field_with_errors { + &.field_with_errors { input, select, textarea { border: 1px solid var(--form-input-validation-error-border-color); }