-
Notifications
You must be signed in to change notification settings - Fork 732
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
Feat/modal content class #2162
Feat/modal content class #2162
Conversation
fix: Fix Typo single-line css omission accuracy issue DouyinFE#1731
* fix: optimize code logic in Cascader * fix: optimize code logic in Cascader for undefined value
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 9d08105:
|
预计跟 v2.57 beta.0 版本处理 |
我的pr会在2.57上线吗👀 |
@@ -286,6 +286,7 @@ export default class ModalContent extends BaseComponent<ModalContentReactProps, | |||
onAnimationEnd={props.onAnimationEnd} | |||
className={cls([`${cssClasses.DIALOG}-content`, | |||
props.contentClassName, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为什么要给 ModalContent 新增一个 modalContentClassName,可以合并到 contentClassName 里吗
这个很好 因为现在modal样式基本都是这个content里,而默认提供的那个contentClassName竟然附的是body里... |
This PR adds the modalContentClass property of the Modal component, which can be used to set the style class name of Modal content