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

Card 嵌套卡片样式污染 #2227

Closed
zyprepare opened this issue Sep 8, 2022 · 0 comments
Closed

Card 嵌套卡片样式污染 #2227

zyprepare opened this issue Sep 8, 2022 · 0 comments
Assignees

Comments

@zyprepare
Copy link
Collaborator

温馨提示

请在提交 Issue 前,先通过如下途径链接检查是否有类似的 Issue 或者问题存在,看能否找到你想要的答案:

内容描述

无标题卡片中嵌套了子卡片,如下写法会影响子卡片样式:

.hi-v4-card.hi-v4-card--no-header .hi-v4-card__body {
padding-top: var(--hi-v4-spacing-10, 20px);
}

应改为子选择器

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

3 participants