mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-08 17:22:31 +03:00
Refine new inline list option
This commit is contained in:
+10
-12
@@ -106,25 +106,23 @@ ol ul {
|
||||
li {
|
||||
line-height: @baseLineHeight;
|
||||
}
|
||||
|
||||
// Remove default list styles
|
||||
ul.unstyled,
|
||||
ol.unstyled {
|
||||
margin-left: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
// Single-line list items
|
||||
ul.inline,
|
||||
ol.inline {
|
||||
.clearfix();
|
||||
}
|
||||
ul.inline > li,
|
||||
ol.inline > li {
|
||||
float: left;
|
||||
margin-right: 14px;
|
||||
margin-left: 12px;
|
||||
}
|
||||
// Reset left padding for unstyled
|
||||
ul.unstyled.inline > li,
|
||||
ol.unstyled.inline > li {
|
||||
padding-left: 0;
|
||||
list-style: none;
|
||||
& > li {
|
||||
display: inline-block;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
// Description Lists
|
||||
|
||||
Reference in New Issue
Block a user