Skip to content

Commit

Permalink
Merge pull request #2410 from NoriSte/feature/fix-touch-arrow-down
Browse files Browse the repository at this point in the history
Fix arrow down navigation on touch devices
  • Loading branch information
hakimel authored May 27, 2019
2 parents a2e9e52 + 6ac0128 commit 9108519
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions css/reveal.css
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down Expand Up @@ -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 {
Expand Down
5 changes: 3 additions & 2 deletions css/reveal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -355,7 +355,8 @@ $controlsArrowAngleActive: 36deg;

.navigate-down {
right: $controlArrowSpacing + $controlArrowSize/2;
bottom: 0;
bottom: -$controlArrowSpacing;
padding-bottom: $controlArrowSpacing;
transform: translateY( 10px );

.controls-arrow {
Expand Down

0 comments on commit 9108519

Please sign in to comment.