These are chat archives for thoughtbot/neat

Jul 2015
Jul 15 2015 07:59
Anyone know what's the easiest way to add padding to every @include outer-container element? I have large a website with loads of components.
Alex Bea
Jul 15 2015 14:20

@nextbase Putting it in the mixin is certainly an option. It'd be overwritten if you updated Neat on that project, but you probably wouldn't have to.

The other option I can think of would be to have @include outer-container as a rule pretty much by itself (only declared once) but applied to all the applicable elements. Then you could add padding there and be sure that the two declarations are always paired. That might be the better way.