campaignmonitor / shell

Campaign Monitor's CSS library
MIT License
15 stars 4 forks source link

Add a new modifier to Container #100

Closed chris-pearce closed 7 years ago

chris-pearce commented 7 years ago

Sometimes the Container layout module is part of a larger layout where that layout uses FlexBox, when this occurs there should be a way to change the Container to be display: flex because only a direct child of an element with display: flex can be a flex item.

We can achieve this via a modifier, for example:

.l-container--flexbox
chris-pearce commented 7 years ago

Fixed in #104.