-
Notifications
You must be signed in to change notification settings - Fork 202
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
bug: extra element break menu style #663
Comments
👋 @kagawagao,感谢给 TDesign 提出了 issue。 |
|
sorry for not use issue template, this issue is create with code reference directly |
hummm,sorry,i don't quite understand what the question is, perhaps you can provide more information? |
For example
& > *:not(.@{prefix}-menu-group) {
&:not(:first-child) {
margin-top: @comp-margin-xs;
}
} which compiled to css is .t-default-menu__inner .t-menu>*:not(.t-menu-group):not(:first-child) {
margin-top: var(--td-comp-margin-xs);
} this css style make only |
tdesign-vue-next-starter/src/layouts/components/MenuContent.vue
Line 2 in b73708b
this element make
child combinator
(>
) in menu style breakedhttps://github.com/Tencent/tdesign-common/blob/50bcb279b7ced6dea5b0d359972156c7e7c00124/style/web/components/menu/_index.less#L278-L291
The text was updated successfully, but these errors were encountered: