From f6c410610a7881d2cb484d90903c058a59cdb876 Mon Sep 17 00:00:00 2001 From: virtuacoplenny Date: Wed, 17 Apr 2019 06:15:08 -0700 Subject: [PATCH] fix(toolbar): let click through gradient (#4107) Otherwise it can eat clicks on elements it is above, like YouTube and Etherpad controls. --- css/_subject.scss | 1 + css/_toolbars.scss | 1 + 2 files changed, 2 insertions(+) diff --git a/css/_subject.scss b/css/_subject.scss index 9cf84c9c3..734a68035 100644 --- a/css/_subject.scss +++ b/css/_subject.scss @@ -3,6 +3,7 @@ transition: top .3s ease-in; height: 95px; width: 100%; + pointer-events: none; position: absolute; padding: 25px 140px 0 140px; text-align: center; diff --git a/css/_toolbars.scss b/css/_toolbars.scss index ae6dd8742..757edc63e 100644 --- a/css/_toolbars.scss +++ b/css/_toolbars.scss @@ -48,6 +48,7 @@ height: 160px; width: 100%; bottom: -160px; + pointer-events: none; position: absolute; z-index: $toolbarBackgroundZ; }