Re: Nested Panels

22 views
Skip to first unread message

gidantribal

unread,
Feb 9, 2014, 3:38:20 PM2/9/14
to bootstr...@googlegroups.com
I think this is the proper way to add styles to the headings (only the first
direct childs). Is this going to be part of the official release or we have
to patch it manually?

Best Regards,
Alessandro

> Hi,
>
> I've recently tried putting panels inside of each other (with
> bootstrap-3.0.0-rc1) and the result is not pretty. The border-color
> matches
> the style of the associated panel color, but the panel-header
> background-color does not match, it simply uses the background-color of
> the
> top-most panel. My fix for this was simply to change:
>
> .panel-success .panel-heading
> to
> .panel-success > .panel-heading
>
> and similar changes for .panel-danger, .panel-warning, and panel-info.
>
> Regards,
> Andrew Robbins
>




--
View this message in context: http://twitter-bootstrap.1086183.n5.nabble.com/Nested-Panels-tp1199p3175.html
Sent from the Twitter Bootstrap mailing list archive at Nabble.com.

Alex Gidan

unread,
Feb 10, 2014, 4:24:52 AM2/10/14
to bootstr...@googlegroups.com
Ok, I will answer to myself...Actually I guess I was wrong. After investigating a bit more, the offending code is specified on a LESS theme (called bootswatch) and NOT in native bootstrap....
I think I should patch it manually or ask to the devs of bootswatch indeed...

Sorry for messing things up :)

LightDot

unread,
Feb 10, 2014, 4:40:56 AM2/10/14
to bootstr...@googlegroups.com
Yea, opening a bug report at Bootswatch seems like a good course of action. Btw, which theme has this issue?

Regards
Reply all
Reply to author
Forward
0 new messages