Class manager possible bug?

Hi @Norm ,

I created a class in the class manager like this:

.z-product,
.z-term {

border-width: 1px 1px 1px 1px;
border-style: solid;
border-color: #EEEEEE !important;
border-radius: 10px 10px 10px 10px;
overflow: hidden;
box-shadow: 0.00px 1.00px 3px rgba(0,0,0,0.08);
background-color: var(–swatch-var-primary);
}

.z-product,
.z-term:hover {

box-shadow: 0.00px 4.00px 12px rgba(0,0,0,0.10);
}

Notice, that only the second class (z-term) got the :hover pseudo-class modifier.

Currently multi CSS selectors are not fully supported by the Class Manager. So anything with a comma wont add hover states to each instance. You would need to manually create each.

I’ll add it to the todo list to add as a future improvement.

2 Likes

Thanks @Norm ,

That would be a great new feature of the class manager!

1 Like