Skip to content

Class name generation and ad-block #358

@kshaa

Description

@kshaa

Class name generation in production mode produces minified class names which are sort as follows:

._a0
._a1
etc

It's possible for an ._ads class name to be generated and in result many browser ad-block plugins will apply an injected display: none stylesheet thereby hiding content. The content isn't an ad, but the minified class name makes ad-block think otherwise.

P.S. I don't have any steps to reproduce (as I noticed this in a private project) and also not sure if this can be really even be considered a bug in scalacss.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions