Commit 09edfcf8 authored by Mark Otto's avatar Mark Otto
Browse files

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

parent 87c98478
No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
...@@ -2196,7 +2196,6 @@ input[type="button"].btn-block { ...@@ -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 { ...@@ -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;
} }
......
This diff is collapsed.
...@@ -9,7 +9,6 @@ ...@@ -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 @@ ...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment