From 4b7f4493bb078f70236345ff045be9da34629ce9 Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 13 Mar 2017 18:07:53 +0800 Subject: Fix form-select font color and other bugs --- src/forms.less | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/forms.less') diff --git a/src/forms.less b/src/forms.less index e6ba867..ba38656 100644 --- a/src/forms.less +++ b/src/forms.less @@ -1,6 +1,8 @@ // Forms -.form-group:not(:last-child) { - margin-bottom: 1rem; +.form-group { + &:not(:last-child) { + margin-bottom: @layout-gutter; + } } // Form element: Input boxes @@ -84,10 +86,10 @@ appearance: none; border: .1rem solid @light-gray-color; border-radius: @border-radius; + color: inherit; font-size: 1.4rem; line-height: 2rem; min-width: @control-min-width; - outline: 0; padding: .5rem .8rem; vertical-align: middle; @@ -395,7 +397,7 @@ input { // Form Horizontal .form-horizontal { - padding: 1rem; + padding: @layout-gutter; .form-group { display: flex; -- cgit v1.3.1-23-gd82d