Skip to content

Commit 2c5ff41

Browse files
committed
fix(pop-upload): 统一变量替换tiny前缀类名
1 parent 762a947 commit 2c5ff41

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/theme/src/pop-upload/index.less

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
@import './vars.less';
1515

1616
@popupload-prefix-cls: ~'@{css-prefix}popupload';
17+
@file-upload-prefix-cls: ~'@{css-prefix}file-upload';
1718
@upload-list-prefix-cls: ~'@{css-prefix}upload-list';
19+
@popconfirm-prefix-cls: ~'@{css-prefix}popconfirm';
1820
@popupload__modal-prefix-cls: ~'@{css-prefix}popupload__modal';
1921
@alert-prefix-cls: ~'@{css-prefix}alert';
2022

@@ -163,18 +165,18 @@
163165
overflow-y: auto;
164166
}
165167

166-
.tiny-file-upload .tiny-upload-list__text-title {
168+
.@{file-upload-prefix-cls} .@{upload-list-prefix-cls}__text-title {
167169
display: none;
168170
}
169171

170-
.tiny-popupload__dialog-footer {
172+
.@{popupload-prefix-cls}__dialog-footer {
171173
justify-content: flex-end;
172174
}
173175
}
174176

175177
// 新规范适配
176178
&__pop-confirm {
177-
.tiny-popconfirm-popover__title {
179+
.@{popconfirm-prefix-cls}-popover__title {
178180
white-space: nowrap;
179181
}
180182
}

0 commit comments

Comments
 (0)