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: add reset style to inputNumber #41940

Merged
merged 1 commit into from
Apr 23, 2023

Conversation

Wxh16144
Copy link
Member

@Wxh16144 Wxh16144 commented Apr 22, 2023

[中文版模板 / 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
  • Workflow
  • Other (about what?)

🔗 Related issue link

resolve #41938

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English add reset style to InputNumber
🇨🇳 Chinese InpuerNumber 组件添加 resetStyle

☑️ 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

🚀 Summary

🤖 Generated by Copilot at 4ff6ab3

Refactor input number style with resetComponent function. Simplify and unify the style code for components/input-number/style/index.ts.

🔍 Walkthrough

🤖 Generated by Copilot at 4ff6ab3

  • Reset common CSS properties for input number component to ensure consistency and avoid conflicts (link)
  • Simplify input number component style by removing unnecessary color and font-size properties (link)

@github-actions
Copy link
Contributor

github-actions bot commented Apr 22, 2023

@codecov
Copy link

codecov bot commented Apr 22, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (6612e5c) 100.00% compared to head (4ff6ab3) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master    #41940   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          616       616           
  Lines        10530     10530           
  Branches      2883      2883           
=========================================
  Hits         10530     10530           
Impacted Files Coverage Δ
components/input-number/style/index.ts 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 in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

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.

Browser input user agent stylesheet input overrides ant css
2 participants