You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
!important is applied to the font-family declaration.
From what I have been testing the !important statement is only applied when the css declaration has multiple words like Aria, sans-serif or 1px solid blue, and only to the first statement of the mixin.
When applied to a mixin, the !important statment should be applied to all the declarations inside, as in the official library: http://goo.gl/kM81gj
Hello,
First of all thank you for this library :)
I have noticed a strange behaviour when using
!important
on a mixin.For example, the following less:
generates the css:
As we can see no
!important
statements have been applied to the contentsof the mixin.
If we change the less (sans-serif has been added to the font-family declaration):
we now get:
!important
is applied to the font-family declaration.From what I have been testing the
!important
statement is only applied when the css declaration has multiple words likeAria, sans-serif
or1px solid blue
, and only to the first statement of the mixin.When applied to a mixin, the
!important
statment should be applied to all the declarations inside, as in the official library: http://goo.gl/kM81gjSo the end result should look like:
Thank you,
Rob
The text was updated successfully, but these errors were encountered: