Browse Source

:art: fix https://github.com/siyuan-note/siyuan/issues/10286

Vanessa 1 year ago
parent
commit
0dd00d2138
1 changed files with 5 additions and 1 deletions
  1. 5 1
      app/src/assets/scss/component/_typography.scss

+ 5 - 1
app/src/assets/scss/component/_typography.scss

@@ -15,7 +15,7 @@
     margin: 0 auto;
 
     &.emoji {
-      width: 1lh;
+      width: .7lh;
       cursor: auto;
       max-width: none;
       vertical-align: sub; // text-top windows 不兼容
@@ -148,6 +148,10 @@
     margin: 4px 0;
     font-weight: 600;
     line-height: 1.25;
+
+    .emoji {
+      width: 1lh;
+    }
   }
 
   .h1,