@jx3box/jx3box-editor 1.5.8 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -188,7 +188,8 @@
188
188
  .mb(20px);
189
189
  }
190
190
  .e-jx3-emotion {
191
- .size(80px, 80px);
191
+ max-width: 200px;
192
+ max-height: 200px;
192
193
  vertical-align: middle;
193
194
  .e-jx3-emotion-img {
194
195
  border: none !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx3box/jx3box-editor",
3
- "version": "1.5.8",
3
+ "version": "1.6.0",
4
4
  "description": "JX3BOX Article & Editor",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -192,7 +192,7 @@ export default {
192
192
  background-position: top right;
193
193
  background-size: contain;
194
194
  .u-author{
195
- padding:5px 0 15px 0;
195
+ padding:5px 0 15px 5px;
196
196
  }
197
197
  .u-avatar {
198
198
  .fl;
@@ -67,8 +67,8 @@ export default {
67
67
  });
68
68
  },
69
69
  formatTime(val) {
70
- return val && dayjs(val).format("YYYY-MM-DD HH:mm:ss") || "";
71
- }
70
+ return (val && dayjs(val).format("YYYY-MM-DD HH:mm:ss")) || "";
71
+ },
72
72
  },
73
73
  };
74
74
  </script>
@@ -76,26 +76,27 @@ export default {
76
76
  <style scoped lang="less">
77
77
  @import "../../assets/css/module/author.less";
78
78
  .w-author {
79
-
80
- .u-meta{
79
+ .u-meta {
81
80
  display: flex;
82
81
  align-items: center;
83
82
  .fz(12px,24px);
84
83
  .h(24px);
85
84
  .mb(5px);
86
85
  }
87
- .u-meta-label{
86
+ .u-meta-label {
88
87
  .mr(10px);
89
88
  background-color: @bg-gray;
90
- padding:0 8px;
89
+ padding: 0 8px;
91
90
  .r(2px);
92
91
  }
93
- .u-meta-value,.u-user{
94
- display: flex;
92
+ .u-meta-value,
93
+ .u-user {
94
+ display: flex;
95
95
  align-items: center;
96
96
  }
97
- .u-user-avatar{
97
+ .u-user-avatar {
98
98
  .size(24px);
99
+ .mr(5px);
99
100
  }
100
101
  }
101
102
  </style>