From 16895e52e8c3b6489303ea71d44eb5ac71c84a4b Mon Sep 17 00:00:00 2001 From: Alice Gaudon Date: Thu, 10 Sep 2020 16:17:06 +0200 Subject: [PATCH] Fix input hint and errors display --- assets/sass/layout.scss | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/assets/sass/layout.scss b/assets/sass/layout.scss index 9ab7d43..808aafb 100644 --- a/assets/sass/layout.scss +++ b/assets/sass/layout.scss @@ -349,15 +349,17 @@ form { text-align: center; .form-field { - position: relative; display: flex; flex-direction: column; margin: 16px auto; - background: $inputBackground; - border-radius: 5px; - overflow: hidden; - > .feather.icon { + .control { + position: relative; + background: $inputBackground; + border-radius: 5px; + } + + .feather.icon { position: absolute; top: 50%; right: 8px; @@ -447,7 +449,8 @@ form { height: calc(32px + 8px + 32px); } - &.inline { + &.inline .control { + display: flex; flex-direction: row; align-items: center;