Browse Source

图片添加样式

dmy 5 years ago
parent
commit
29568685c1
2 changed files with 6 additions and 5 deletions
  1. 0 5
      _src/components/msgItem/style.scss
  2. 6 0
      _src/style/base.scss

+ 0 - 5
_src/components/msgItem/style.scss

@@ -32,11 +32,6 @@
     word-break: normal;
     -ms-word-break: break-all;
     word-break: break-all;
-    .emoji {
-      height: 1em;
-      width: 1em;
-      margin: 0 .05em 0 .1em;
-    }
   }
   img.avatar {
     background: #ccc;

+ 6 - 0
_src/style/base.scss

@@ -83,4 +83,10 @@ button{
 	border: none;
 	text-align: center;
 	cursor: pointer;
+}
+
+img.emoji {
+  width: 30px;
+  height: 30px;
+  margin: 0 .05em 0 .1em;
 }