diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-10-12 12:38:19 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2017-05-16 09:45:37 +0200 |
commit | 92049d8244ae5d7d664372b8299208d2d4650adf (patch) | |
tree | d0aedb9ff2343e560b8d692ba90dce50103f1f4d | |
parent | 2a0a6cbabce1c584dd8cc90b435a6cdddfedfbdb (diff) | |
download | fosdem-2018-presentation-92049d8244ae5d7d664372b8299208d2d4650adf.tar fosdem-2018-presentation-92049d8244ae5d7d664372b8299208d2d4650adf.tar.gz |
fix unclickable slides in overview when controls were edge-aligned
-rw-r--r-- | css/reveal.css | 4 | ||||
-rw-r--r-- | css/reveal.scss | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/css/reveal.css b/css/reveal.css index db18bb0..8d1d405 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -197,7 +197,8 @@ body { bottom: 0; left: 0; z-index: 1; - color: #fff; } + color: #fff; + pointer-events: none; } .reveal .controls button { position: absolute; padding: 0; @@ -213,6 +214,7 @@ body { -webkit-transition: all 0.2s ease; transition: all 0.2s ease; z-index: 2; + pointer-events: auto; visibility: hidden; opacity: 0; -webkit-appearance: none; diff --git a/css/reveal.scss b/css/reveal.scss index 4a3c1a9..5a046d3 100644 --- a/css/reveal.scss +++ b/css/reveal.scss @@ -262,6 +262,7 @@ body { left: 0; z-index: 1; color: #fff; + pointer-events: none; button { position: absolute; @@ -276,6 +277,7 @@ body { transform: scale(.9999); transition: all 0.2s ease; z-index: 2; // above slides + pointer-events: auto; visibility: hidden; opacity: 0; |