mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
rewrite list-inline to use margin and simpler styles
This commit is contained in:
+4
-4
@@ -92,13 +92,13 @@ mark,
|
||||
// Inline turns list items into inline-block
|
||||
.list-inline {
|
||||
@include list-unstyled;
|
||||
margin-left: -$list-inline-padding;
|
||||
}
|
||||
|
||||
.list-inline-item {
|
||||
display: inline-block;
|
||||
padding-right: $list-inline-padding;
|
||||
padding-left: $list-inline-padding;
|
||||
|
||||
&:not(:last-child) {
|
||||
margin-right: $list-inline-padding;
|
||||
}
|
||||
}
|
||||
|
||||
// Horizontal description lists w/ grid classes
|
||||
|
||||
Reference in New Issue
Block a user