Commit 4cfe307a authored by Mark Otto's avatar Mark Otto

Fixes #11206: remove left padding on first inline list item

parent 0c714c32
...@@ -610,6 +610,10 @@ ol ol { ...@@ -610,6 +610,10 @@ ol ol {
padding-left: 5px; padding-left: 5px;
} }
.list-inline > li:first-child {
padding-left: 0;
}
dl { dl {
margin-bottom: 20px; margin-bottom: 20px;
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -153,13 +153,19 @@ ol { ...@@ -153,13 +153,19 @@ ol {
padding-left: 0; padding-left: 0;
list-style: none; list-style: none;
} }
// Inline turns list items into inline-block // Inline turns list items into inline-block
.list-inline { .list-inline {
.list-unstyled(); .list-unstyled();
> li { > li {
display: inline-block; display: inline-block;
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
&:first-child {
padding-left: 0;
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment