]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Better base `ul` and `ol` styles
authorMark Otto <otto@github.com>
Mon, 17 Jun 2013 20:35:50 +0000 (13:35 -0700)
committerMark Otto <otto@github.com>
Mon, 17 Jun 2013 21:21:16 +0000 (14:21 -0700)
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
less/type.less

index 9d19d3c814ce4e53478262400064a8583f54369f..6266bb1d746608b22f807d0bf7d7c6a6a34b42ef 100644 (file)
@@ -504,8 +504,8 @@ h4 small,
 
 ul,
 ol {
-  padding: 0;
-  margin: 0 0 10px 25px;
+  margin-top: 0;
+  margin-bottom: 10px;
 }
 
 ul ul,
index a95e5bff797979eda599cd38196636f40ed5c7cc..d62e2a2ac07ff42ae359abc0eb3403c436e00d0a 100644 (file)
@@ -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,