From 731cbb302e3df670c15c46d277c39d0746d73a3d Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 17 Jun 2013 13:35:50 -0700 Subject: [PATCH] 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`. --- docs/assets/css/bootstrap.css | 4 ++-- less/type.less | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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,