mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 21:22:52 +02:00
fixes #8670: move list group bg color to individual items for mo betta rendering
This commit is contained in:
2
dist/css/bootstrap.css
vendored
2
dist/css/bootstrap.css
vendored
@@ -2196,7 +2196,6 @@ input[type="button"].btn-block {
|
|||||||
.list-group {
|
.list-group {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
background-color: #ffffff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-group-item {
|
.list-group-item {
|
||||||
@@ -2204,6 +2203,7 @@ input[type="button"].btn-block {
|
|||||||
display: block;
|
display: block;
|
||||||
padding: 10px 30px 10px 15px;
|
padding: 10px 30px 10px 15px;
|
||||||
margin-bottom: -1px;
|
margin-bottom: -1px;
|
||||||
|
background-color: #ffffff;
|
||||||
border: 1px solid #dddddd;
|
border: 1px solid #dddddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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
@@ -9,7 +9,6 @@
|
|||||||
// No need to set list-style: none; since .list-group-item is block level
|
// No need to set list-style: none; since .list-group-item is block level
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
padding-left: 0; // reset padding because ul and ol
|
padding-left: 0; // reset padding because ul and ol
|
||||||
background-color: @list-group-bg;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Individual list items
|
// Individual list items
|
||||||
@@ -21,6 +20,7 @@
|
|||||||
padding: 10px 30px 10px 15px;
|
padding: 10px 30px 10px 15px;
|
||||||
// Place the border on the list items and negative margin up for better styling
|
// Place the border on the list items and negative margin up for better styling
|
||||||
margin-bottom: -1px;
|
margin-bottom: -1px;
|
||||||
|
background-color: @list-group-bg;
|
||||||
border: 1px solid @list-group-border;
|
border: 1px solid @list-group-border;
|
||||||
|
|
||||||
// Round the first and last items
|
// Round the first and last items
|
||||||
|
Reference in New Issue
Block a user