diff options
| author | Mark Otto <[email protected]> | 2013-10-26 14:13:34 +0100 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-10-26 14:13:34 +0100 |
| commit | 4cfe307abeee4f0193a0bcbc54aad08d1115b002 (patch) | |
| tree | dd80571a710b93f77b24146665f5036dea12e6e3 /less | |
| parent | 0c714c32f92391b6cda1657219295df57200befe (diff) | |
| download | bootstrap-4cfe307abeee4f0193a0bcbc54aad08d1115b002.tar.xz bootstrap-4cfe307abeee4f0193a0bcbc54aad08d1115b002.zip | |
Fixes #11206: remove left padding on first inline list item
Diffstat (limited to 'less')
| -rw-r--r-- | less/type.less | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/less/type.less b/less/type.less index 58dd545c1..c01a6fe0c 100644 --- a/less/type.less +++ b/less/type.less @@ -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; + } } } |
