bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Normal list groups inside panels

Open bjohnson045 opened this issue 13 years ago • 5 comments

While developing using BS3 I am finding myself needing/wanting to create list groups inside a panel without the full-width panel list group styles kicking in (.panel .list-group). For example if I have a large/wide panel content area where I might want to display a list-group on one side and content on the other. Am I missing a way to do this?

Perhaps only do full width list groups if the list-group is a direct descendant of .panel. This way we can put them inside a panel-body DIV for normal rendering.

panelexample

bjohnson045 avatar Aug 16 '13 01:08 bjohnson045

Perhaps only do full width list groups if the list-group is a direct descendant of .panel. This way we can put them inside a panel-body DIV for normal rendering.

Done!

mdo avatar Aug 16 '13 01:08 mdo

This seems to have broken the normal behaviour of list-groups within panels. When I place a .list-group within a .panel it is not rendering full-width but instead leaving a margin all round and adding the curved corners to the first item in the list-group which is not the expected behaviour.

philiposborne avatar Sep 06 '13 20:09 philiposborne

@DiscoverySquare Can you paste a full example of code? Make sure your list group is NOT inside of a panel body div if you want it to be full width.

bjohnson045 avatar Sep 06 '13 20:09 bjohnson045

Hi @atdev2 I've just realised it was my mistake, I was still linking to the 3.0.0-rc1 instead of just the 3.0.0 ... it's working ok now. Thanks for such a quick response though!

philiposborne avatar Sep 06 '13 20:09 philiposborne

@mdo, should this fix be present in current available build through Customizer section?

jeserkin avatar Sep 18 '13 11:09 jeserkin