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

The blankHeight[Size] of FormItem does not inherit from the theme.common.height[Size] #1880

Closed
vvizden opened this issue Dec 17, 2021 · 0 comments

Comments

@vvizden
Copy link
Contributor

vvizden commented Dec 17, 2021

TuSimple/naive-ui version (版本)

2.23.0

Vue version (Vue 版本)

3.2.26

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

Chrome(96.0.4664.110)

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

Windows 10 20H2

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/admiring-meitner-f767k?file=/src/App.vue

Reappearance steps (重现步骤)

  1. Set theme.common.heightLarge > 40px(default), the height of the label is still 40px(default).
  2. You have to set the Form.blankHeight[Size] to be consistent with the NInput component.

Expected results (期望的结果)

The height of the label can be inherited from the theme.common.height[Size], just like the NInput component.

Actual results (实际的结果)

You have to set the Form.blankHeight[Size] to be consistent with the NInput component.

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Dec 17, 2021
@Talljack Talljack added bug Something isn't working consideration-needed and removed untriaged need to sort bug Something isn't working labels Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants