about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2019-06-06 19:30:14 +0900
committermultiple creatures <dev@multiple-creature.party>2019-11-19 16:37:35 -0600
commitd602531a8f959ecde51e7b3051fffdf3c3bcc42e (patch)
treecbbecef138ee9aa755733d7ebd95c874e5262967 /app/javascript/styles
parent168b4cf1b04b4d09dfe92f2f60fe0cab50cd2dcb (diff)
Fix emoji picker being always displayed (#10979)
* Fix emoji picker being always displayed

* Remove duplicate content with other pull-requests
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/mastodon/components.scss10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 312d59e6e..44e5335d9 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -408,12 +408,20 @@
     }
   }
 
-  .emoji-picker-wrapper,
   .autosuggest-textarea__suggestions-wrapper {
     position: relative;
     height: 0;
   }
 
+  .emoji-picker-wrapper {
+    position: relative;
+    height: 0;
+
+    &.emoji-picker-wrapper--hidden {
+      display: none;
+    }
+  }
+
   .autosuggest-textarea__suggestions {
     box-sizing: border-box;
     display: none;