0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #9498 from ggam/panel-variant-fix

Made panel-variant apply styles only to first child
This commit is contained in:
Mark Otto 2013-08-14 15:32:21 -07:00
commit 60a281507a

View File

@ -331,7 +331,7 @@
// -------------------------
.panel-variant(@border; @heading-text-color; @heading-bg-color; @heading-border) {
border-color: @border;
.panel-heading {
& > .panel-heading {
color: @heading-text-color;
background-color: @heading-bg-color;
border-color: @heading-border;
@ -339,7 +339,7 @@
border-top-color: @border;
}
}
.panel-footer {
& > .panel-footer {
+ .panel-collapse .panel-body {
border-bottom-color: @border;
}