about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMélanie Chauvel (ariasuni) <perso@hack-libre.org>2020-03-08 15:36:50 +0100
committerGitHub <noreply@github.com>2020-03-08 15:36:50 +0100
commit2e18b1a2a2976f04f84e92d187b0620223a64fa6 (patch)
tree8450c82e54e9675e68bd212a15a7d2b142ba8aa7
parent339ce1c4e90605b736745b1f04493a247b2627ec (diff)
Fix text area above/right of emoji picker being accidentally clickable in web UI (#13148)
-rw-r--r--app/javascript/styles/mastodon/components.scss10
1 files changed, 3 insertions, 7 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 456929f3a..7d3644d16 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -388,8 +388,8 @@
 
   .emoji-picker-dropdown {
     position: absolute;
-    top: 5px;
-    right: 5px;
+    top: 0;
+    right: 0;
   }
 
   .compose-form__autosuggest-wrapper {
@@ -4061,10 +4061,7 @@ a.status-card.compact:hover {
 
 .emoji-button {
   display: block;
-  font-size: 24px;
-  line-height: 24px;
-  margin-left: 2px;
-  width: 24px;
+  padding: 5px 5px 2px 2px;
   outline: 0;
   cursor: pointer;
 
@@ -4080,7 +4077,6 @@ a.status-card.compact:hover {
     margin: 0;
     width: 22px;
     height: 22px;
-    margin-top: 2px;
   }
 
   &:hover,