No outline for emoji selector when invisible

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2021-07-29 21:24:06 +02:00
parent 38ad49c1e6
commit 10f55dbb42
1 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,7 @@
border-radius: 9999px; border-radius: 9999px;
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1); box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
opacity: 0; opacity: 0;
outline: 0;
pointer-events: none; pointer-events: none;
transition: 0.1s; transition: 0.1s;
z-index: 999; z-index: 999;
@ -83,6 +84,7 @@
&--visible, &--visible,
&--focused { &--focused {
opacity: 1; opacity: 1;
outline: unset;
pointer-events: all; pointer-events: all;
} }