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
committerEugen Rochko <eugen@zeonfederated.com>2019-06-06 12:30:14 +0200
commitc402c291f4991e2b021d8c13b557e6a8f650dcf3 (patch)
treea06b15f7c62d70cc139ec98ece895279d5b73865 /app/javascript/styles
parent8f3c32e29cf13a84b2f0a58da0ab0c99a88caad5 (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 acb349a7c..543d20128 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;