Skip to content

Commit

Permalink
adjust style of navigation buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
hax committed Mar 28, 2016
1 parent 31ea538 commit f6ad5bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion takahashi/index.js
Expand Up @@ -120,7 +120,9 @@ function startPresentation() {
controls.style.bottom = '0'
controls.style.left = '0'
controls.style.right = '0'
controls.innerHTML = '<button class="prev" style="width: 24%">&lt;</button><button class="next" style="width: 75%">&gt;</button>'
controls.style.color = 'gray'
controls.style.opacity = '0.6'
controls.innerHTML = '<button class="prev" style="width: 38%; height: 48px">&lt;</button><button class="next" style="width: 61%; height: 48px">&gt;</button>'
document.body.appendChild(controls)
controls.addEventListener('click', event => {
if (event.target.matches('button.next')) nextSlide()
Expand Down

0 comments on commit f6ad5bc

Please sign in to comment.