From 44bb7b20c7eb14f29827fc163fc5afb066a7ddf5 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 8 Feb 2014 17:29:10 -0800 Subject: 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 --- dist/css/bootstrap.css | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'dist/css/bootstrap.css') diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index 181bc40a0..10ec8badb 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -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; } -- cgit v1.2.3