diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2017-05-18 15:34:51 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2017-05-18 15:35:25 +0200 |
commit | 453a88879743edb22ab8774198d358688973115a (patch) | |
tree | 9a7bd82b2463266bbe084b10b5e839b5d96a4500 /css | |
parent | 6dde00fb2e3cee979d6b2fafb1c0adc1443d6c14 (diff) | |
download | fosdem-2018-presentation-453a88879743edb22ab8774198d358688973115a.tar fosdem-2018-presentation-453a88879743edb22ab8774198d358688973115a.tar.gz |
fix error with multiple decimal em in safari
Diffstat (limited to 'css')
-rw-r--r-- | css/reveal.css | 4 | ||||
-rw-r--r-- | css/reveal.scss | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/css/reveal.css b/css/reveal.css index bc31453..060d7b6 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -272,8 +272,8 @@ body { border-radius: 0.25em; background-color: currentColor; transition: all 0.15s ease, background-color 0.8s ease; - -webkit-transform-origin: 0.25em 50%; - transform-origin: 0.25em 50%; + -webkit-transform-origin: 0.2em 50%; + transform-origin: 0.2em 50%; will-change: transform; } .reveal .controls .controls-arrow { position: relative; diff --git a/css/reveal.scss b/css/reveal.scss index b82cebc..e6b73fb 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -314,7 +314,7 @@ $controlsArrowAngleActive: 36deg; background-color: currentColor; 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; } |