]> cat aescling's git repositories - mastodon.git/commitdiff
[Glitch] Fix text area above/right of emoji picker being accidentally clickable in...
authorMélanie Chauvel (ariasuni) <perso@hack-libre.org>
Sun, 8 Mar 2020 14:36:50 +0000 (15:36 +0100)
committerThibaut Girka <thib@sitedethib.com>
Sun, 8 Mar 2020 19:19:08 +0000 (20:19 +0100)
Port 2e18b1a2a2976f04f84e92d187b0620223a64fa6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
app/javascript/flavours/glitch/styles/components/composer.scss
app/javascript/flavours/glitch/styles/components/emoji.scss

index 9437760103eb0d82d38922ea4a71e9563e520b43..460f75c1fc83eb3c4b022b32916488b442e87546 100644 (file)
@@ -3,8 +3,8 @@
 
   .emoji-picker-dropdown {
     position: absolute;
-    right: 5px;
-    top: 5px;
+    top: 0;
+    right: 0;
 
     ::-webkit-scrollbar-track:hover,
     ::-webkit-scrollbar-track:active {
index 160e9d8117acafbfff76c3e5845dd1ab3a969c47..9dfee346a6ee05266581c02b7a0da31745be3683 100644 (file)
 
 .emoji-button {
   display: block;
-  font-size: 24px;
-  line-height: 24px;
-  margin-left: 2px;
-  width: 24px;
+  padding: 5px 5px 2px 2px;
   outline: 0;
   cursor: pointer;
 
@@ -91,7 +88,6 @@
     margin: 0;
     width: 22px;
     height: 22px;
-    margin-top: 2px;
   }
 
   &:hover,