Skip to content

Commit ade6d45

Browse files
authored
fix(icon): [steps] 修改steps图标尺寸适配新规范 (#2344)
1 parent e8b8bab commit ade6d45

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

examples/sites/demos/pc/app/icon/iconGroups.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,9 @@ export const iconGroups = {
286286
'IconUser',
287287
'IconVersiontree',
288288
'IconWebPlus',
289-
'IconJs'
289+
'IconJs',
290+
'IconLeftFrozen',
291+
'IconRightFrozen'
290292
],
291293
Clock: ['IconClockWork', 'IconProcessing', 'IconTime'],
292294
Email: ['IconEmailAdd', 'IconEmailCircle', 'IconMailContent', 'IconMail', 'IconReplies', 'IconSent', 'IconUnsent'],
@@ -416,7 +418,6 @@ export const iconGroups = {
416418
'IconJusitfySpaceAround',
417419
'IconJusitfySpaceBetween',
418420
'IconJustitfyFlexStart',
419-
'IconLeftFrozen',
420421
'IconLineHeight',
421422
'IconLineThrought',
422423
'IconLink',
@@ -425,7 +426,6 @@ export const iconGroups = {
425426
'IconPagelink',
426427
'IconPushpin',
427428
'IconRenew',
428-
'IconRightFrozen',
429429
'IconRichTextNodeDelete',
430430
'IconSandwichCollapse',
431431
'IconSandwichExpand',

packages/theme/src/steps/index.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@
324324
margin-right: 12px;
325325

326326
.icon {
327-
width: 14px;
328-
height: 14px;
327+
width: var(--tv-Steps-node-circle-size);
328+
height: var(--tv-Steps-node-circle-size);
329329
}
330330
}
331331
}
@@ -774,7 +774,7 @@
774774
}
775775

776776
&.medium {
777-
.block-size-mixin(var(--tv-Steps-node-circle-size), var(--tv-Steps-font-size), 14px, 14px, 32px, 8px);
777+
.block-size-mixin(var(--tv-Steps-node-circle-size), var(--tv-Steps-font-size), var(--tv-Steps-node-circle-size), 14px, 32px, 8px);
778778
}
779779

780780
&.large {

packages/vue/src/upload-list/src/pc.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,7 @@
227227
>
228228
<tiny-progress
229229
v-if="file.status === 'uploading' || file.status === 'downloading'"
230+
status="success"
230231
:type="listType === 'picture-card' ? state.progressType : 'line'"
231232
:stroke-width="listType === 'picture-card' ? state.progressStrokeWidth : 2"
232233
:width="state.progressWidth"

0 commit comments

Comments
 (0)