Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
4cfe307a
Commit
4cfe307a
authored
Oct 26, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #11206: remove left padding on first inline list item
parent
0c714c32
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
dist/css/bootstrap.css
dist/css/bootstrap.css
+4
-0
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
less/type.less
less/type.less
+6
-0
No files found.
dist/css/bootstrap.css
View file @
4cfe307a
...
@@ -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
;
}
}
...
...
dist/css/bootstrap.min.css
View file @
4cfe307a
This source diff could not be displayed because it is too large. You can
view the blob
instead.
less/type.less
View file @
4cfe307a
...
@@ -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;
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment