Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
95affa32
Commit
95affa32
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
simplify padding in list groups and margins on badges within
parent
a0f30199
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dist/css/bootstrap.css
+2
-3
dist/css/bootstrap.css
dist/css/bootstrap.min.css
+1
-1
dist/css/bootstrap.min.css
less/list-group.less
+2
-3
less/list-group.less
with
5 additions
and
7 deletions
+5
-7
dist/css/bootstrap.css
+
2
-
3
View file @
95affa32
...
...
@@ -2334,7 +2334,7 @@ input[type="button"].btn-block {
.list-group-item
{
position
:
relative
;
display
:
block
;
padding
:
10px
30px
10px
15px
;
padding
:
10px
15px
;
margin-bottom
:
-1px
;
background-color
:
#ffffff
;
border
:
1px
solid
#dddddd
;
...
...
@@ -2353,11 +2353,10 @@ input[type="button"].btn-block {
.list-group-item
>
.badge
{
float
:
right
;
margin-right
:
-15px
;
}
.list-group-item
>
.badge
+
.badge
{
margin-right
:
0
;
margin-right
:
5px
;
}
.list-group-item-heading
{
...
...
This diff is collapsed.
Click to expand it.
dist/css/bootstrap.min.css
+
1
-
1
View file @
95affa32
This diff is collapsed.
Click to expand it.
less/list-group.less
+
2
-
3
View file @
95affa32
...
...
@@ -17,7 +17,7 @@
.list-group-item {
position: relative;
display: block;
padding: 10px
30px 10px
15px;
padding: 10px 15px;
// Place the border on the list items and negative margin up for better styling
margin-bottom: -1px;
background-color: @list-group-bg;
...
...
@@ -35,10 +35,9 @@
// Align badges within list items
> .badge {
float: right;
margin-right: -15px;
}
> .badge + .badge {
margin-right:
0
;
margin-right:
5px
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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