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

[menu] Unexpected whitespace :not( .t-is-disabled) #1799

Closed
Atox724 opened this issue May 21, 2024 · 3 comments · Fixed by #1828
Closed

[menu] Unexpected whitespace :not( .t-is-disabled) #1799

Atox724 opened this issue May 21, 2024 · 3 comments · Fixed by #1828
Assignees

Comments

@Atox724
Copy link

Atox724 commented May 21, 2024

tdesign-common 版本

dev

重现链接

No response

重现步骤

menu/_index.less:line 592
&:hover:not(.@{prefix}-is-active):not(.@{prefix}-is-opened):not( .@{prefix}-is-disabled ) { background-color: @menu-item-hover-bg--light; }

期望结果

不要因为换行导致的多余空格, 会导致打包时 css-syntax爆出警告

▲ [WARNING] Unexpected whitespace [css-syntax-error]

    <stdin>:6876:60:
      6876 │ ...hover:not(.t-is-active):not(.t-is-opened):not( .t-is-disabled) {
           ╵                                                  ^

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link

👋 @wangchao0724,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Copy link

♥️ 有劳 @xiaosansiji 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @wangchao0724 。

@uyarn
Copy link
Collaborator

uyarn commented May 24, 2024

方便的话可以直接提交PR修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants