aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2017-05-18 15:34:51 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2017-05-18 15:35:25 +0200
commit453a88879743edb22ab8774198d358688973115a (patch)
tree9a7bd82b2463266bbe084b10b5e839b5d96a4500
parent6dde00fb2e3cee979d6b2fafb1c0adc1443d6c14 (diff)
downloadfosdem-2018-presentation-453a88879743edb22ab8774198d358688973115a.tar
fosdem-2018-presentation-453a88879743edb22ab8774198d358688973115a.tar.gz
fix error with multiple decimal em in safari
-rw-r--r--css/reveal.css4
-rw-r--r--css/reveal.scss2
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;
}