iov-design 2.15.53 → 2.15.55

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.
@@ -6,7 +6,8 @@
6
6
  color: $color;
7
7
  border-color: $plainBorderColor;
8
8
  @include when(hit) {
9
- border-color: $borderColor;
9
+ border: 1px solid $borderColor;
10
+ line-height: 30px;
10
11
  }
11
12
  @include when(dot) {
12
13
  .el-tag__text:before {
@@ -196,9 +197,6 @@
196
197
  padding: $--tag-padding;
197
198
  font-size: $--tag-font-size;
198
199
  color: $--color-darkblue-6;
199
- border-width: 1px;
200
- border-style: solid;
201
- border-color: transparent;
202
200
  border-radius: $--tag-border-radius;
203
201
  box-sizing: border-box;
204
202
  white-space: nowrap;
@@ -278,6 +276,9 @@
278
276
  }
279
277
 
280
278
  @include m(plain) {
279
+ border-width: 1px;
280
+ border-style: solid;
281
+ line-height: 30px;
281
282
  @include genTheme($--color-white, $--color-darkblue-2, $--color-darkblue-6, $--color-darkblue-7, $--color-darkblue-6);
282
283
  @include genThemeInfo($--color-white, $--color-line-2, $--color-text-3, $--color-text-4, $--color-text-3);
283
284
  @include genThemeSuccess($--color-white, $--color-success-2, $--color-success-6, $--color-success-7, $--color-success-6);
@@ -297,6 +298,10 @@
297
298
  &.is-dot {
298
299
  font-size: 14px;
299
300
  }
301
+ &.is-hit,
302
+ &.el-tag--plain {
303
+ line-height: 28px;
304
+ }
300
305
 
301
306
  .el-tag-icon {
302
307
  font-size: 16px;
@@ -314,6 +319,10 @@
314
319
  &.is-dot {
315
320
  font-size: 13px;
316
321
  }
322
+ &.is-hit,
323
+ &.el-tag--plain {
324
+ line-height: 24px;
325
+ }
317
326
 
318
327
  .el-tag-icon {
319
328
  font-size: 12px;
@@ -328,10 +337,14 @@
328
337
  font-size: $--tag-small-font-size;
329
338
  height: 22px;
330
339
  border-radius: 4px;
331
- line-height: 20px;
340
+ line-height: 22px;
332
341
  &.is-dot {
333
342
  font-size: 12px;
334
343
  }
344
+ &.is-hit,
345
+ &.el-tag--plain {
346
+ line-height: 20px;
347
+ }
335
348
 
336
349
  .el-tag-icon {
337
350
  font-size: 12px;
package/src/index.js CHANGED
@@ -212,7 +212,7 @@ if (typeof window !== 'undefined' && window.Vue) {
212
212
  }
213
213
 
214
214
  export default {
215
- version: '2.15.53',
215
+ version: '2.15.55',
216
216
  locale: locale.use,
217
217
  i18n: locale.i18n,
218
218
  install,