Browse Source

Fix emoji height (broken in Chromium 60)

JC Brand 8 years ago
parent
commit
4104dec89b
2 changed files with 7 additions and 0 deletions
  1. 3 0
      css/inverse.css
  2. 4 0
      sass/inverse/_chatbox.scss

+ 3 - 0
css/inverse.css

@@ -1949,6 +1949,9 @@ body {
         line-height: 22px; }
         line-height: 22px; }
       #conversejs .chatbox .chat-body .chat-message .chat-msg-content {
       #conversejs .chatbox .chat-body .chat-message .chat-msg-content {
         line-height: 22px; }
         line-height: 22px; }
+        #conversejs .chatbox .chat-body .chat-message .chat-msg-content .emojione {
+          height: 22px;
+          margin-bottom: -5.5px; }
   #conversejs .chatbox .chat-content {
   #conversejs .chatbox .chat-content {
     padding: 0 1em 1em 1em;
     padding: 0 1em 1em 1em;
     border-top-left-radius: 7px;
     border-top-left-radius: 7px;

+ 4 - 0
sass/inverse/_chatbox.scss

@@ -51,6 +51,10 @@
                 }
                 }
                 .chat-msg-content {
                 .chat-msg-content {
                     line-height: $line-height;
                     line-height: $line-height;
+                    .emojione {
+                        height: $line-height;
+                        margin-bottom: -$line-height/4;
+                    }
                 }
                 }
             }
             }
         }
         }