From: Mark Otto Date: Mon, 17 Jun 2013 20:35:50 +0000 (-0700) Subject: Better base `ul` and `ol` styles X-Git-Tag: v3.0.0-rc1~275 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=731cbb302e3df670c15c46d277c39d0746d73a3d;p=thirdparty%2Fbootstrap.git Better base `ul` and `ol` styles Turns out we were nixing the default browser spacing for bullets and numbers, so this reverts that and instead just twerks the top/bottom `margin`. --- diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 9d19d3c814..6266bb1d74 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -504,8 +504,8 @@ h4 small, ul, ol { - padding: 0; - margin: 0 0 10px 25px; + margin-top: 0; + margin-bottom: 10px; } ul ul, diff --git a/less/type.less b/less/type.less index a95e5bff79..d62e2a2ac0 100644 --- a/less/type.less +++ b/less/type.less @@ -106,8 +106,8 @@ h4 small, .h4 small { font-size: @font-size-base; } // Unordered and Ordered lists ul, ol { - padding: 0; - margin: 0 0 (@line-height-computed / 2) 25px; + margin-top: 0; + margin-bottom: (@line-height-computed / 2); } ul ul, ul ol,