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

Collapse itemMargin doesn't also change padding #4728

Closed
9mm opened this issue Apr 15, 2023 · 0 comments · Fixed by #4742
Closed

Collapse itemMargin doesn't also change padding #4728

9mm opened this issue Apr 15, 2023 · 0 comments · Fixed by #4742
Assignees
Labels
feature request New feature or request

Comments

@9mm
Copy link

9mm commented Apr 15, 2023

TuSimple/naive-ui version (版本)

2.34.3

Vue version (Vue 版本)

3.3.0-alpha.9

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

Chrome Latest

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

MacOS latest

Node version (Node 版本)

Reappearance link (重现链接)

https://codepen.io

Reappearance steps (重现步骤)

There doesn't need to be a link for this, but if --n-item-margin: 6px 0 0 0; is overridden for collapse, there is no variable to also control the padding on the other side. It's hard-coded not as a variable: padding: 16px 0 0 0;

Expected results (期望的结果)

Both should have variable to change

Actual results (实际的结果)

Its impossible to style it

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Apr 15, 2023
@XieZongChen XieZongChen self-assigned this Apr 18, 2023
@XieZongChen XieZongChen added feature request New feature or request and removed untriaged need to sort labels Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants