Merge pull request #4865 from nonamethanks/fix-url-form-length

Fix url fields in forms not having the same length as other text inputs
This commit is contained in:
evazion
2021-08-28 02:04:39 -05:00
committed by GitHub

View File

@@ -30,7 +30,7 @@ form.simple_form {
div.input { div.input {
margin-bottom: 1em; 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%; width: 100%;
max-width: 25em; max-width: 25em;
} }
@@ -44,7 +44,7 @@ form.simple_form {
} }
} }
&.field_with_errors { &.field_with_errors {
input, select, textarea { input, select, textarea {
border: 1px solid var(--form-input-validation-error-border-color); border: 1px solid var(--form-input-validation-error-border-color);
} }