Fix Switcher hovering issues when hidden
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
z-index: 101;
|
||||
bottom: 16px;
|
||||
left: 16px;
|
||||
pointer-events: none;
|
||||
|
||||
@include bp (sm) {
|
||||
bottom: 20px;
|
||||
@@ -21,7 +22,6 @@
|
||||
background: $color-primary-tertiary20;
|
||||
border-radius: 12px;
|
||||
margin-bottom: 16px;
|
||||
pointer-events: none;
|
||||
transform: translate3d(0, 8px, 0);
|
||||
box-shadow: 0 6px 6px $shadow-color, 0 12px 12px $shadow-color, 0 24px 24px $shadow-color;
|
||||
transition: opacity 0.8s var(--ease-quart), transform 0.8s var(--ease-quart);
|
||||
@@ -63,6 +63,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
pointer-events: auto;
|
||||
background: $color-primary-tertiary20;
|
||||
border-radius: 100%;
|
||||
box-shadow: 0 6px 6px $shadow-color, 0 12px 12px $shadow-color, 0 24px 24px $shadow-color;
|
||||
@@ -104,6 +105,10 @@
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
transform: translate3d(0, 0, 0);
|
||||
|
||||
a {
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
|
||||
&__button {
|
||||
|
||||
Reference in New Issue
Block a user