mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
simplify padding in list groups and margins on badges within
This commit is contained in:
parent
a0f301995c
commit
95affa32e6
5
dist/css/bootstrap.css
vendored
5
dist/css/bootstrap.css
vendored
@ -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 {
|
||||
|
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
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user