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

Minifier script breaks CSS -webkit-calc #755

Open
tlienart opened this issue Jan 7, 2021 · 0 comments
Open

Minifier script breaks CSS -webkit-calc #755

tlienart opened this issue Jan 7, 2021 · 0 comments

Comments

@tlienart
Copy link
Owner

tlienart commented Jan 7, 2021

When working on circuitscape.org ; I realised that the geometry wasn't applied properly by Safari and Chromium but was by Firefox.

Both Safari and Chrom(e/ium) are affected by -webkit-* directives of which there is one of the form -webkit-calc(800px - (30px * 2)) or something along those lines. It seems that the minified removes one of the whitespace in this expression (likely after the -) which makes the value invalid...

In some remote future we'll just have to write a simple minifier in Julia I guess...

Anyway if someone else stumbles upon this, just put minifiy=false in the optimise statement in the deploy script so

optimize(minify=false)
@tlienart tlienart changed the title Minifier script breaks -webkit-calc Minifier script breaks CSS -webkit-calc Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant