mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
Fixes #11206: remove left padding on first inline list item
This commit is contained in:
parent
0c714c32f9
commit
4cfe307abe
4
dist/css/bootstrap.css
vendored
4
dist/css/bootstrap.css
vendored
@ -610,6 +610,10 @@ ol ol {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.list-inline > li:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
dl {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -153,13 +153,19 @@ ol {
|
||||
padding-left: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
// Inline turns list items into inline-block
|
||||
.list-inline {
|
||||
.list-unstyled();
|
||||
|
||||
> li {
|
||||
display: inline-block;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
|
||||
&:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user