1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

fixes #8670: move list group bg color to individual items for mo betta rendering

This commit is contained in:
Mark Otto 2013-07-29 17:23:08 -07:00
parent 87c98478d2
commit 09edfcf8c2
3 changed files with 3 additions and 3 deletions

View file

@ -2196,7 +2196,6 @@ input[type="button"].btn-block {
.list-group {
padding-left: 0;
margin-bottom: 20px;
background-color: #ffffff;
}
.list-group-item {
@ -2204,6 +2203,7 @@ input[type="button"].btn-block {
display: block;
padding: 10px 30px 10px 15px;
margin-bottom: -1px;
background-color: #ffffff;
border: 1px solid #dddddd;
}

File diff suppressed because one or more lines are too long

View file

@ -9,7 +9,6 @@
// No need to set list-style: none; since .list-group-item is block level
margin-bottom: 20px;
padding-left: 0; // reset padding because ul and ol
background-color: @list-group-bg;
}
// Individual list items
@ -21,6 +20,7 @@
padding: 10px 30px 10px 15px;
// Place the border on the list items and negative margin up for better styling
margin-bottom: -1px;
background-color: @list-group-bg;
border: 1px solid @list-group-border;
// Round the first and last items