We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PageHeader
2.21.5
3.2.24
Chrome: 96.0.4664.55
macOS 11.6
v17.2.0
https://codesandbox.io/s/condescending-drake-pzzs7
打开链接,即可看到
只设置了page-header 的default slot时,上外边距应该为0,这样能保证内容居中
.n-page-header-content 始终都会加上margin-top: 20px。这样会导致不传别的slot时,样式有问题
The text was updated successfully, but these errors were encountered:
0989eee
Fnzero
No branches or pull requests
TuSimple/naive-ui version (版本)
2.21.5
Vue version (Vue 版本)
3.2.24
Browser and its version (浏览器及其版本)
Chrome: 96.0.4664.55
System and its version (系统及其版本)
macOS 11.6
Node version (Node 版本)
v17.2.0
Reappearance link (重现链接)
https://codesandbox.io/s/condescending-drake-pzzs7
Reappearance steps (重现步骤)
打开链接,即可看到
Expected results (期望的结果)
只设置了page-header 的default slot时,上外边距应该为0,这样能保证内容居中
Actual results (实际的结果)
.n-page-header-content 始终都会加上margin-top: 20px。这样会导致不传别的slot时,样式有问题
Remarks (补充说明)
The text was updated successfully, but these errors were encountered: