ant-design / ant-design/compatible

Form styles not using prefix and changing not ant-design forms styles

Open
#129 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
93
Forks
29
PR merge metrics
No merged PRs in 30d

Description

This style is changing our `radio` and `checkbox` inputs globally in our code (line 229).

https://github.com/ant-design/compatible/blob/284747003cf7aae0385101031c8d85cb722def46/src/form/style/index.less#L145

The same style in ant-design/ant-design is using a prefix to modify its children.

https://github.com/ant-design/ant-design/blob/264b3514d8f2f06fc627dc734c6bd68d98a3a16f/components/form/style/components.less#L9

Contributor guide

No contributing guide indexed for this repository

Research direction

Open src/form/style/index.less at line 145 and compare it with ant-design's components/form/style/components.less at line 9. Verify that the form styles use prefixed child selectors so radio and checkbox inputs outside the form are unchanged.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.