From a3474a7877c4502d79d2eba65794527966197c72 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 23 Nov 2016 20:40:53 +0800 Subject: webui: configs.html: Improve the form layout and styles --- fg21sim/webui/static/css/main.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'fg21sim/webui/static/css') diff --git a/fg21sim/webui/static/css/main.css b/fg21sim/webui/static/css/main.css index 67f324b..aecb48d 100644 --- a/fg21sim/webui/static/css/main.css +++ b/fg21sim/webui/static/css/main.css @@ -221,7 +221,7 @@ label, legend { .form-inline .form-control { display: inline-block; width: auto; - margin-bottom: 0; + margin-bottom: 0.3rem; vertical-align: middle; } .form-inline .checkboxes { @@ -230,6 +230,12 @@ label, legend { vertical-align: middle; } +input[type="radio"], +input[type="checkbox"] { + margin-left: 0.5rem; + margin-right: 0.5rem; +} + /* Checkboxes & Radios */ .checkboxes .legend, .radios .legend { -- cgit v1.2.2