Skip to content

Commit

Permalink
fix(comp:upload): upload list card status text isn't centered (#1461)
Browse files Browse the repository at this point in the history
* fix(comp:upload): upload list card status text isn't centered

* docs(comp:upload): modify demo drag panel style
  • Loading branch information
sallerli1 committed Feb 20, 2023
1 parent 39f7f5d commit afeb80e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions packages/components/upload/demo/Dragable.vue
Expand Up @@ -28,5 +28,10 @@ const files = ref([])
&-icon {
font-size: 24px;
}
p {
font-size: 14px;
margin: 8px 0 0 0;
}
}
</style>
4 changes: 3 additions & 1 deletion packages/components/upload/style/list.less
Expand Up @@ -179,11 +179,13 @@

.@{upload-prefix}-status {
color: @color-graphite-base;
text-align: center;
padding: @spacing-xs;
min-width: @upload-list-image-card-status-min-width;

.@{idux-prefix}-progress {
display: flex;
margin-top: @upload-list-image-card-status-progress-margin;
margin: @upload-list-image-card-status-progress-margin;
}
}

Expand Down

0 comments on commit afeb80e

Please sign in to comment.