lambo-design-bi 0.0.284 → 0.0.286
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
|
@@ -195,6 +195,11 @@ export default {
|
|
|
195
195
|
.lambo-multi-select {
|
|
196
196
|
display: inline-block;
|
|
197
197
|
|
|
198
|
+
/* 撑满外层设定的宽度:主题里 --select-width 是 95%,不覆盖会比其他下拉框短一截 */
|
|
199
|
+
.ivu-select {
|
|
200
|
+
width: 100%;
|
|
201
|
+
}
|
|
202
|
+
|
|
198
203
|
.ivu-select-selection {
|
|
199
204
|
background-color: var(--input-bg, #fff);
|
|
200
205
|
}
|
|
@@ -52,7 +52,11 @@ export default {
|
|
|
52
52
|
z-index: 1;
|
|
53
53
|
display: flex;
|
|
54
54
|
align-items: center;
|
|
55
|
+
// 三个动作分散到两端与中间,不再用 flex:1 等分;
|
|
56
|
+
// 子项按内容宽度排列,也不会再把 auto 宽度的下拉面板顶宽
|
|
57
|
+
justify-content: space-between;
|
|
55
58
|
height: 28px;
|
|
59
|
+
padding: 0 12px;
|
|
56
60
|
font-family: var(--font-family, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif);
|
|
57
61
|
font-size: var(--font-size-base, 14px);
|
|
58
62
|
color: var(--text-color, #515a6e);
|
|
@@ -60,15 +64,12 @@ export default {
|
|
|
60
64
|
border-bottom: 1px solid var(--border-color-split, #e8eaec);
|
|
61
65
|
|
|
62
66
|
&__btn {
|
|
63
|
-
//
|
|
64
|
-
flex: 1;
|
|
67
|
+
// 三个动作由父级 space-between 定位,这里只管内容自身的对齐
|
|
65
68
|
display: inline-flex;
|
|
66
69
|
align-items: center;
|
|
67
|
-
justify-content: center;
|
|
68
70
|
height: 100%;
|
|
69
|
-
padding: 0 12px;
|
|
70
|
-
cursor: pointer;
|
|
71
71
|
white-space: nowrap;
|
|
72
|
+
cursor: pointer;
|
|
72
73
|
color: var(--text-color-secondary, rgba(0, 0, 0, 0.45));
|
|
73
74
|
transition: color 0.2s;
|
|
74
75
|
|