1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-16 10:34:07 +02:00

fixes #17433: improve borders on .list-group-flush to remove dupe borders when appropro

This commit is contained in:
Mark Otto
2015-12-07 10:05:53 -08:00
parent ef5b6a224e
commit a22d2fb5a5
2 changed files with 22 additions and 0 deletions

View File

@@ -37,6 +37,18 @@
border-width: $list-group-border-width 0;
border-radius: 0;
}
&:first-child {
.list-group-item:first-child {
border-top: 0;
}
}
&:last-child {
.list-group-item:last-child {
border-bottom: 0;
}
}
}