bri-components 1.3.8 → 1.3.9

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bri-components",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
4
4
  "author": "dengshanghui",
5
5
  "description": "a component lib for vue project",
6
6
  "main": "src/index.js",
@@ -111,6 +111,9 @@
111
111
  return tabItem.slot !== "extra"
112
112
  ? (h) => {
113
113
  return h("div", {
114
+ style: {
115
+ padding: ["button", "menu"].includes(this.mode) ? undefined : "0px 16px"
116
+ }
114
117
  }, tabItem.name);
115
118
  }
116
119
  : undefined;
@@ -196,7 +199,7 @@
196
199
  .ivu-tabs-tab {
197
200
  // display: inline-block;
198
201
  // height: 44px;
199
- padding: 0px 16px!important;
202
+ padding: 0px!important;
200
203
  margin-right: 1px!important;
201
204
  // background-color: #E5E5E5;
202
205
  text-align: center;
@@ -338,7 +341,7 @@
338
341
  .ivu-tabs-tab {
339
342
  display: inline-block;
340
343
  height: 40px;
341
- padding: 0px 16px!important;
344
+ padding: 0px!important;
342
345
  margin-right: 1px!important;
343
346
  background-color: #E5E5E5;
344
347
  text-align: center;
@@ -577,6 +580,10 @@
577
580
  &:hover {
578
581
  color: @textColor;
579
582
  }
583
+
584
+ &:last-of-type {
585
+ margin-right: 0px;
586
+ }
580
587
  }
581
588
 
582
589
  .ivu-tabs-ink-bar {