Skip to content

hover-class中的 !类名 不生效 #96

@yujqiao

Description

@yujqiao

微信 button 等元素支持 hover-class,在点时runtime会自动在class中加上hover-class中的内容。我使用 hover-class="!bg-black" 无效,类名被正确添加,但style没有变化,看起来是对应的样式没有被生成。是否应该增加对hover-class的扫描?

如果我自己写 .selector {background: black !important} 则可以生效

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions