diff --git a/assets/sass/layout.scss b/assets/sass/layout.scss index d221be7..e5643b5 100644 --- a/assets/sass/layout.scss +++ b/assets/sass/layout.scss @@ -281,20 +281,6 @@ form { } } } - - .error, .hint { - padding: 2px; - text-align: left; - font-size: 14px; - - .feather { - --icon-size: 14px; - } - } - - .error { - color: $error; - } } .inline-fields { @@ -308,9 +294,32 @@ form { margin: 0; } - & > :not(.form-field) { + > :not(.form-field) { padding: 32px 8px 8px 8px; } + + + { + .error, .hint { + margin-top: -16px; + margin-bottom: 16px; + } + } + } + + .form-field, .inline-fields + { + .error, .hint { + padding: 2px; + text-align: left; + font-size: 14px; + + .feather { + --icon-size: 14px; + } + } + + .error { + color: $error; + } } } diff --git a/views/macros.njk b/views/macros.njk index 034b77b..789700a 100644 --- a/views/macros.njk +++ b/views/macros.njk @@ -77,9 +77,7 @@ {% endif %} - {% if validation %} -