Commit 453a8887 authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

fix error with multiple decimal em in safari

parent 6dde00fb
...@@ -272,8 +272,8 @@ body { ...@@ -272,8 +272,8 @@ body {
border-radius: 0.25em; border-radius: 0.25em;
background-color: currentColor; background-color: currentColor;
transition: all 0.15s ease, background-color 0.8s ease; transition: all 0.15s ease, background-color 0.8s ease;
-webkit-transform-origin: 0.25em 50%; -webkit-transform-origin: 0.2em 50%;
transform-origin: 0.25em 50%; transform-origin: 0.2em 50%;
will-change: transform; } will-change: transform; }
.reveal .controls .controls-arrow { .reveal .controls .controls-arrow {
position: relative; position: relative;
......
...@@ -314,7 +314,7 @@ $controlsArrowAngleActive: 36deg; ...@@ -314,7 +314,7 @@ $controlsArrowAngleActive: 36deg;
background-color: currentColor; background-color: currentColor;
transition: all 0.15s ease, background-color 0.8s ease; transition: all 0.15s ease, background-color 0.8s ease;
transform-origin: $controlArrowThickness/2 50%; transform-origin: floor(($controlArrowThickness/2)*10)/10 50%;
will-change: transform; will-change: transform;
} }
......
Supports Markdown
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