UX: Don't add padding bottom for emojis in composer preview

UX: Don’t add padding bottom for emojis in composer preview

diff --git a/app/assets/stylesheets/common/d-editor.scss b/app/assets/stylesheets/common/d-editor.scss
index 965ba23..a54a9d2 100644
--- a/app/assets/stylesheets/common/d-editor.scss
+++ b/app/assets/stylesheets/common/d-editor.scss
@@ -205,6 +205,9 @@
 
 .d-editor-preview img {
   padding-bottom: 20px;
+  &.emoji {
+    padding-bottom: 0;
+  }
 }
 
 .d-editor-preview .image-wrapper {

GitHub sha: 0cc636f6

2 Likes