diff options
-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; } |