0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-21 18:54:30 +01:00

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`.
This commit is contained in:
Mark Otto 2013-06-17 13:35:50 -07:00
parent 5f3f73c620
commit 731cbb302e
2 changed files with 4 additions and 4 deletions

View File

@ -504,8 +504,8 @@ h4 small,
ul, ul,
ol { ol {
padding: 0; margin-top: 0;
margin: 0 0 10px 25px; margin-bottom: 10px;
} }
ul ul, ul ul,

View File

@ -106,8 +106,8 @@ h4 small, .h4 small { font-size: @font-size-base; }
// Unordered and Ordered lists // Unordered and Ordered lists
ul, ul,
ol { ol {
padding: 0; margin-top: 0;
margin: 0 0 (@line-height-computed / 2) 25px; margin-bottom: (@line-height-computed / 2);
} }
ul ul, ul ul,
ul ol, ul ol,