diff options
author | Hakim El Hattab | 2019-05-27 07:56:15 +0200 |
---|---|---|
committer | GitHub | 2019-05-27 07:56:15 +0200 |
commit | 9108519dc1881ea93ee5eb3ee9c3345d5fabc41a (patch) | |
tree | bb78faada82589fd6a33079362ac6243ca20199f | |
parent | a2e9e525d5d1f02f8b712be379f8cc4bc1dacb25 (diff) | |
parent | 6ac01281d246310bd2a6ae8b08e98547d4b37903 (diff) |
Merge pull request #2410 from NoriSte/feature/fix-touch-arrow-down
Fix arrow down navigation on touch devices
-rw-r--r-- | css/reveal.css | 5 | ||||
-rw-r--r-- | css/reveal.scss | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/css/reveal.css b/css/reveal.css index 91ee6dc..50b14c4 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -227,7 +227,7 @@ body { bottom: 12px; right: 12px; left: auto; - z-index: 1; + z-index: 11; color: #000; pointer-events: none; font-size: 10px; } @@ -312,7 +312,8 @@ body { transform: rotate(90deg); } .reveal .controls .navigate-down { right: 3.2em; - bottom: 0; + bottom: -1.4em; + padding-bottom: 1.4em; -webkit-transform: translateY(10px); transform: translateY(10px); } .reveal .controls .navigate-down .controls-arrow { diff --git a/css/reveal.scss b/css/reveal.scss index a6cb9bc..ff98311 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -263,7 +263,7 @@ $controlsArrowAngleActive: 36deg; bottom: $spacing; right: $spacing; left: auto; - z-index: 1; + z-index: 11; color: #000; pointer-events: none; font-size: 10px; @@ -355,7 +355,8 @@ $controlsArrowAngleActive: 36deg; .navigate-down { right: $controlArrowSpacing + $controlArrowSize/2; - bottom: 0; + bottom: -$controlArrowSpacing; + padding-bottom: $controlArrowSpacing; transform: translateY( 10px ); .controls-arrow { |