Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: tweak upload style #35097

Merged
merged 2 commits into from Apr 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -3432,7 +3432,7 @@ exports[`renders ./components/upload/demo/upload-custom-action-icon.md extend co
type="button"
>
<span>
download
Download
</span>
</button>
<button
Expand Down Expand Up @@ -3519,7 +3519,7 @@ exports[`renders ./components/upload/demo/upload-custom-action-icon.md extend co
type="button"
>
<span>
download
Download
</span>
</button>
<button
Expand Down
4 changes: 2 additions & 2 deletions components/upload/__tests__/__snapshots__/demo.test.js.snap
Expand Up @@ -3240,7 +3240,7 @@ exports[`renders ./components/upload/demo/upload-custom-action-icon.md correctly
type="button"
>
<span>
download
Download
</span>
</button>
<button
Expand Down Expand Up @@ -3327,7 +3327,7 @@ exports[`renders ./components/upload/demo/upload-custom-action-icon.md correctly
type="button"
>
<span>
download
Download
</span>
</button>
<button
Expand Down
2 changes: 1 addition & 1 deletion components/upload/demo/upload-custom-action-icon.md
Expand Up @@ -48,7 +48,7 @@ const props = {
],
showUploadList: {
showDownloadIcon: true,
downloadIcon: 'download ',
downloadIcon: 'Download',
showRemoveIcon: true,
removeIcon: <StarOutlined onClick={e => console.log(e, 'custom removeIcon event')} />,
},
Expand Down
1 change: 0 additions & 1 deletion components/upload/style/index.less
Expand Up @@ -197,7 +197,6 @@

&-info {
height: 100%;
padding: 0 4px;
transition: background-color 0.3s;

> span {
Expand Down