Kaynağa Gözat

fix(toolbar): let click through gradient (#4107)

Otherwise it can eat clicks on elements it is above,
like YouTube and Etherpad controls.
j8
virtuacoplenny 6 yıl önce
ebeveyn
işleme
f6c410610a
No account linked to committer's email address
2 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 1
    0
      css/_subject.scss
  2. 1
    0
      css/_toolbars.scss

+ 1
- 0
css/_subject.scss Dosyayı Görüntüle

3
     transition: top .3s ease-in;
3
     transition: top .3s ease-in;
4
     height: 95px;
4
     height: 95px;
5
     width: 100%;
5
     width: 100%;
6
+    pointer-events: none;
6
     position: absolute;
7
     position: absolute;
7
     padding: 25px 140px 0 140px;
8
     padding: 25px 140px 0 140px;
8
     text-align: center;
9
     text-align: center;

+ 1
- 0
css/_toolbars.scss Dosyayı Görüntüle

48
         height: 160px;
48
         height: 160px;
49
         width: 100%;
49
         width: 100%;
50
         bottom: -160px;
50
         bottom: -160px;
51
+        pointer-events: none;
51
         position: absolute;
52
         position: absolute;
52
         z-index: $toolbarBackgroundZ;
53
         z-index: $toolbarBackgroundZ;
53
     }
54
     }

Loading…
İptal
Kaydet