dmy 5 anos atrás
pai
commit
9e735a458f
2 arquivos alterados com 3 adições e 3 exclusões
  1. 1 1
      _src/components/emoji/index.vue
  2. 2 2
      _src/style/base.scss

+ 1 - 1
_src/components/emoji/index.vue

@@ -48,7 +48,7 @@ export default {
     handleClick (item, event) {
       let name = item.names
       this.$emit('addEmoji', JSON.stringify(name))
-      if (this.recentList.length > 11) {
+      if (this.recentList.length > 9) {
         this.recentList.pop()
       }
       if (this.recentList.includes(item)) {

+ 2 - 2
_src/style/base.scss

@@ -87,7 +87,7 @@ button{
 
 img.emoji {
   width: 30px;
-  height: 30px;
-	margin: 0 .05em 0 .1em;
+	height: 30px;
 	pointer-events: none;
+	vertical-align: middle;
 }