-
Notifications
You must be signed in to change notification settings - Fork 310
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
feat(breadcrumb): support web component #1844
base: develop
Are you sure you want to change the base?
Conversation
@@ -33,7 +33,7 @@ | |||
color: @breadcrumb-icon-color-current; | |||
} | |||
} | |||
|
|||
:not(@{prefix}-breadcrumb-item) > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个是什么用的?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
在 web component 中,原来的 .t-breadcrumb__item:last-child 会选中每一个 <t-breadcrumb-item>
下的 .t-breadcrumb__item, 所以使用:not来排除web component 中的元素,后面单独处理最后一个 <t-breadcrumb-item>
@carolin913 这个要按照前几天说的挪到_wc.less吗 |
🤔 这个 PR 的性质是?
🔗 相关 Issue
TDesignOteam/tdesign-web-components#14
💡 需求背景和解决方案
📝 更新日志
feat(breadcrumb): support web component
本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单