Commit 8d36a788 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Added hotfix for border:none -> border:0 optimisation (planning to do something more extensive)

parent b3d2ee53
......@@ -55,5 +55,7 @@ let compress =
| Expr value -> Expr (shorten_expr value)
| Declaration ("font-weight", value, imp) ->
Declaration ("font-weight", shorten_font_weight value, imp)
| Declaration (("border" | "outline") as name, Ident "none", imp) ->
Declaration (name, Number (0., None), imp)
| v -> v
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment