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-form中使用n-button的block,宽度会超出容器 #6363

Closed
5 tasks done
seepine opened this issue Sep 17, 2024 · 1 comment
Closed
5 tasks done

n-form中使用n-button的block,宽度会超出容器 #6363

seepine opened this issue Sep 17, 2024 · 1 comment
Labels
untriaged need to sort

Comments

@seepine
Copy link

seepine commented Sep 17, 2024

描述错误

n-form中使用n-button的block,宽度会超出容器
image

复现步骤

如复现demo

最小复现链接

https://stackblitz.com/edit/vitejs-vite-ub74gm?file=src%2FApp.vue

系统信息

"vue": "^3.5.6",
"naive-ui": "^2.39.0"

使用的包管理器

npm

验证

@seepine seepine added the untriaged need to sort label Sep 17, 2024
@jahnli
Copy link
Collaborator

jahnli commented Sep 22, 2024

This is block props `s code

    display: flex;
    width: 100%;

You should give the second button flex:1

@jahnli jahnli closed this as completed Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged need to sort
Projects
None yet
Development

No branches or pull requests

2 participants