From 631e04b6fc1cc643610684fe3d3c683ee486a9fe Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 10 Jun 2014 20:50:58 -0700 Subject: Fixes #13548: Use position: absolute; to fix checkbox and radio line-height problems that were introduced after #13003 --- dist/css/bootstrap.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dist/css/bootstrap.css') diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index 1701df553..ae3adc61b 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -2401,6 +2401,7 @@ input[type="month"].input-lg { } .radio, .checkbox { + position: relative; display: block; min-height: 20px; margin-top: 10px; @@ -2417,7 +2418,8 @@ input[type="month"].input-lg { .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] { - float: left; + position: absolute; + margin-top: 4px \9; margin-left: -20px; } .radio + .radio, -- cgit v1.2.3