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

fix: style parse error #38742

Merged
merged 1 commit into from Nov 19, 2022
Merged

fix: style parse error #38742

merged 1 commit into from Nov 19, 2022

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Nov 19, 2022

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English Fix Form, Input, Select, Tree part style convert to CSS-in-JS missing.
🇨🇳 Chinese 修复 Form, Input, Select, Tree 转换到 CSS-in-JS 丢失少量样式的问题。

☑️ Self-Check before Merge

⚠️ Please check all items below before requesting a reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@github-actions
Copy link
Contributor

github-actions bot commented Nov 19, 2022

@github-actions
Copy link
Contributor

Size Change: -31 B (0%)

Total Size: 900 kB

Filename Size Change
./dist/antd-with-locales.min.js 479 kB -15 B (0%)
./dist/antd.min.js 421 kB -16 B (0%)

compressed-size-action

@@ -738,10 +738,9 @@ const genSearchInputStyle: GenerateStyle<InputToken> = (token: InputToken) => {
'&:hover, &:focus': {
borderColor: token.colorPrimaryHover,

[`+ ${componentCls}-group-addon ${searchPrefixCls}-button:not(.@{ant-prefix}-btn-primary)`]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

全局搜索 .@{ 必有收获。

@afc163
Copy link
Member

afc163 commented Nov 19, 2022

怎么发现的。。

@codecov
Copy link

codecov bot commented Nov 19, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (a6691e6) compared to base (5fa55e2).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##            master    #38742   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          544       544           
  Lines         9350      9350           
  Branches      2649      2649           
=========================================
  Hits          9350      9350           
Impacted Files Coverage Δ
components/select/style/single.tsx 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@zombieJ
Copy link
Member Author

zombieJ commented Nov 19, 2022

怎么发现的。。

在看 FF 里的问题,复制 ssr 出来 prettier 后发现有红的。

@zombieJ zombieJ merged commit c511557 into master Nov 19, 2022
@zombieJ zombieJ deleted the fix-style branch November 19, 2022 13:49
This was referenced Nov 22, 2022
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 this pull request may close these issues.

None yet

2 participants