From e9bdd7017c97406a553af1c9da78471659cce211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa=20Checa?= Date: Mon, 22 Feb 2016 17:13:50 +0100 Subject: [PATCH] Option input content: fixes --- src/scss/cdb-components/forms/option_input.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/scss/cdb-components/forms/option_input.scss b/src/scss/cdb-components/forms/option_input.scss index 1d41e53..0e37183 100644 --- a/src/scss/cdb-components/forms/option_input.scss +++ b/src/scss/cdb-components/forms/option_input.scss @@ -88,6 +88,7 @@ border-radius: $baseSize / 2; box-sizing: border-box; cursor: pointer; + vertical-align: middle; &:hover { border: 1px solid $cHoverLine; @@ -115,7 +116,7 @@ box-sizing: content-box; &::after { - padding: 9px; + padding: 0 9px; color: $cHintText; content: 'ยท'; } @@ -129,6 +130,9 @@ } } .CDB-OptionInput-optionContent { + @include display-flex(); + @include align-items(center); + height: 100%; color: $cMainBg; &:hover { @@ -136,6 +140,5 @@ } } .CDB-OptionInput-option.is-active > .CDB-OptionInput-optionContent { - padding: 9px 0; border-bottom: 1px solid $cMainBg; }