Set EmojiSelector visibility from props

This commit is contained in:
Alex Gleason 2020-05-23 17:02:14 -05:00
parent c29d779bf5
commit 8b505c0488
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
5 changed files with 5 additions and 12 deletions

View file

@ -66,6 +66,11 @@
transition: 0.1s;
z-index: 999;
&--visible {
opacity: 1;
pointer-events: all;
}
&__emoji {
display: block;
padding: 0;
@ -90,21 +95,9 @@
}
}
.detailed-status__button--favourite:hover {
.emoji-react-selector {
opacity: 1;
pointer-events: all;
}
}
.status__action-bar__counter--favourite {
position: relative;
&:hover .emoji-react-selector {
opacity: 1;
pointer-events: all;
}
@media(max-width: 455px) {
position: static;
}