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

n-upload: When NUpload list type is "image-card" and is used in NForm, uploaded images are displayed in vertical #1746

Closed
LarchLiu opened this issue Dec 4, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@LarchLiu
Copy link

LarchLiu commented Dec 4, 2021

TuSimple/naive-ui version (版本)

2.21.3

Vue version (Vue 版本)

3.2.23

Browser and its version (浏览器及其版本)

Chrome(96.0.4664.55)

System and its version (系统及其版本)

MacOS(11.2.3)

Node version (Node 版本)

Reappearance link (重现链接)

https://stackblitz.com/edit/vitejs-vite-jxps3n?file=src%2Fcomponents%2FHelloWorld.vue

Reappearance steps (重现步骤)

  1. set NUpload list type to "image-card"
  2. use NUpload in NForm

Expected results (期望的结果)

Horizontal display of uploaded images

Actual results (实际的结果)

Uploaded images are displayed in vertical

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Dec 4, 2021
@07akioni 07akioni added bug Something isn't working and removed untriaged need to sort labels Dec 5, 2021
@07akioni
Copy link
Collaborator

07akioni commented Dec 5, 2021

You can set width: 100%; to n-upload as a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants