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

upload组件,照片墙示例中,当上传图片较多时,特定宽度时,选择图片的框会在最左边 #11183

Closed
ql434 opened this Issue Jul 6, 2018 · 5 comments

Comments

Projects
None yet
4 participants
@ql434

ql434 commented Jul 6, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.6.5

Environment

chrome

Reproduction link

https://img.alicdn.com/tfs/TB1o_X8CH5YBuNjSspoXXbeNFXa-311-463.png

Steps to reproduce

  1. 在照片墙示例中上传多张照片;
  2. 缩小屏幕尺寸,使照片墙最左边的宽度 104px<=width<(104 8);
  3. 修改方案:
    .ant-upload.ant-upload-select { display: inline-table !important; }

What is expected?

新增图片的框一直在最后面;

What is actually happening?

预留特定宽度时,上传图片的框会挤到第一排的最后面,而不是所有图片的最后面;


https://img.alicdn.com/tfs/TB1o_X8CH5YBuNjSspoXXbeNFXa-311-463.png 看这个图片就知道了

@ant-design-bot

This comment has been minimized.

ant-design-bot commented Jul 6, 2018

Translation of this issue:


upload component, in the photo wall example, when uploading more images, when selecting a certain width, the frame of the selected image will be at the leftmost

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.6.5

Environment

Chrome

Reproduction link

https://img.alicdn.com/tfs/TB1o_X8CH5YBuNjSspoXXbeNFXa-311-463.png

Steps to reproduce

  1. Upload multiple photos in the photo wall example;
  2. Reduce the screen size so that the leftmost width of the photo wall is 104px<=width<(104 8);
  3. Modify the plan:
     .ant-upload.ant-upload-select {     Display: inline-table !important;   }

What is expected?

The frame for adding a picture is always at the end;

What is actually happening?

When a certain width is reserved, the frame for uploading the image will be squeezed to the end of the first row, not the last of all the images;


https://img.alicdn.com/tfs/TB1o_X8CH5YBuNjSspoXXbeNFXa-311-463.png See this picture to know

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Aug 20, 2018

@BoostIO funded this issue with $40. Visit this issue on Issuehunt

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Aug 28, 2018

@afc163 has started working. Visit this issue on Issuehunt

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Aug 28, 2018

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Aug 28, 2018

afc163 added a commit that referenced this issue Aug 28, 2018

afc163 added a commit that referenced this issue Aug 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment