Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class name generation and ad-block #358

Open
kshaa opened this issue Feb 22, 2023 · 0 comments
Open

Class name generation and ad-block #358

kshaa opened this issue Feb 22, 2023 · 0 comments

Comments

@kshaa
Copy link

kshaa commented Feb 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant