Add some classes conditionally rather than using extend
This shrinks application.css from 2.4MB to 2.3 Using @extend with buttons meant there were 800 instances of stat-text in the stylesheet, rather than just using the button classes in haml. I am not even sure under what circumstances the stat-text is rendered, I tested it by hardcoding link_to_if to false
Showing
Please register or sign in to comment