These are chat archives for less/less.js

May 2015
Kristjan Broder Lund
May 20 2015 00:42

Hi. I have this problem. I was looking at Changing selector order, and its almost what I want.

Considering the example under that section, is it possible to add the .no-borderradius in front of the previous parent (.menu), instead of the complete .header .menu.
i.e.: to form .header .no-borderradius .menu?

Matthew Dean
May 20 2015 14:52
Not without restructuring. There was a lot of discussion about possibly adding something for this in: less/less.js#1075, but it's probably still a lower priority