Fix style for validation errors in HTML areas

Rails automatically adds the field class to the validation error
message, and so it had an unusual height.
This commit is contained in:
Javi Martín
2020-01-09 20:33:11 +01:00
parent 00d023a18d
commit dc485b0ac6

View File

@@ -1076,7 +1076,7 @@ form {
margin-bottom: $line-height; margin-bottom: $line-height;
} }
.html-area { .html-area:not(.form-error) {
height: 272px; height: 272px;
margin-bottom: $line-height; margin-bottom: $line-height;