mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 21:22:52 +02:00
Fixes #12625: Only remove first list group item's top and last list group item's bottom borders when the list group is first or last
This commit is contained in:
8
dist/css/bootstrap.css
vendored
8
dist/css/bootstrap.css
vendored
@@ -4796,17 +4796,13 @@ a.list-group-item-danger.active:focus {
|
||||
border-width: 1px 0;
|
||||
border-radius: 0;
|
||||
}
|
||||
.panel > .list-group .list-group-item:first-child {
|
||||
border-top: 0;
|
||||
}
|
||||
.panel > .list-group .list-group-item:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
.panel > .list-group:first-child .list-group-item:first-child {
|
||||
border-top: 0;
|
||||
border-top-left-radius: 3px;
|
||||
border-top-right-radius: 3px;
|
||||
}
|
||||
.panel > .list-group:last-child .list-group-item:last-child {
|
||||
border-bottom: 0;
|
||||
border-bottom-right-radius: 3px;
|
||||
border-bottom-left-radius: 3px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user