From a523c7ced440f64996c2078ef914c00bec8ccccc Mon Sep 17 00:00:00 2001 From: Dmitry Nehaychik <4dmitr@gmail.com> Date: Tue, 25 Oct 2016 14:50:43 +0300 Subject: [PATCH] fix(styles): fix #372 input-group issues --- src/app/theme/sass/_form.scss | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/app/theme/sass/_form.scss b/src/app/theme/sass/_form.scss index 3c069799..f34c4be7 100644 --- a/src/app/theme/sass/_form.scss +++ b/src/app/theme/sass/_form.scss @@ -349,6 +349,10 @@ label.custom-input-danger { } } +.input-group-addon { + line-height: inherit; +} + .form-control-feedback { position: absolute; top: 0; @@ -367,7 +371,7 @@ label.custom-input-danger { padding-right: 42.5px; } label ~ .form-control-feedback { - top: 21px; + top: 19px; font-size: 18px; } } @@ -393,6 +397,7 @@ label.custom-input-danger { .help-block { color: $help-text; + vertical-align: sub; } .help-block.error-block { @@ -562,6 +567,19 @@ label.custom-input-danger { border-bottom-right-radius: 5px; } +.input-group-btn { + + &:not(:first-child) { + > .btn, > .btn-group { + margin-left: 0; + } + } + + > .btn { + line-height: 1.56; + } +} + .with-primary-addon:focus { border-color: $primary; }