Bugfix: class prefix was also applied to static class names
This commit is contained in:
parent
85923bd338
commit
4e46ebe591
@ -84,8 +84,7 @@ RV-Level(name, name_delimiter, allowed_parent_levels, selector_callback)
|
||||
|
||||
RV-Block(name)
|
||||
.{name}
|
||||
+prefix-classes(name)
|
||||
{block}
|
||||
{block}
|
||||
|
||||
_bem_context._alias_map = {}
|
||||
_bem_context._alias_stack = () ()
|
||||
@ -93,10 +92,10 @@ RV-Block(name)
|
||||
RV-Element(name=null)
|
||||
+RV-Level(name, '__', ('RV-Block' 'RV-Block--modifier'), @(name){
|
||||
if is_nested_in('RV-Block--modifier') {
|
||||
return '& .__' + name
|
||||
return '& ^[-1]__' + name
|
||||
}
|
||||
else {
|
||||
return '&__' + name
|
||||
return '& &__' + name
|
||||
}
|
||||
})
|
||||
{block}
|
||||
|
Loading…
Reference in New Issue
Block a user