NuCivic / react-dash

A framework for building data visualization dashboards using react. Docs: http://react-dashboard.readthedocs.io/en/latest/
MIT License
98 stars 22 forks source link

Add an inner class to the Card Component #59

Open rhabbachi opened 7 years ago

rhabbachi commented 7 years ago

Sometimes using the bootstrap grid system is diffecult without an inner div element holding all the internal card structure (card-top, card-content, card-bottom). For example to surround the Chart with panel like border.

image

This Pull Request wraps the Card's element inside a div with the card-inner class and add support for a new Card setting option named "cardInnerClasses" to append classes to the div.

starsinmypockets commented 7 years ago

@rhabbachi Very sorry I haven't merged this! I'm not sure how this effects our production builds so I'm being very cautious...

erogray commented 5 years ago

@rhabbachi is this still needed?