bito-code-review[bot] commented on PR #42290:
URL: https://github.com/apache/superset/pull/42290#issuecomment-5052845561
<!-- Bito Reply -->
The pull request correctly identifies that Ant Design 6 has renamed the
modal content wrapper from `.ant-modal-content` to `.ant-modal-container`. The
changes in the PR update the CSS selectors in `Modal.tsx`,
`DatasourceModal/index.tsx`, and `SharedStyles.tsx` to use the new class,
ensuring that existing spacing overrides continue to function correctly. The
updated tests in `antdDomContract.test.tsx` and `StandardModal.test.tsx` verify
this new contract, confirming that `.ant-modal-container` is present and
`.ant-modal-content` is not, which is appropriate for the migration.
**superset-frontend/packages/superset-ui-core/src/components/Modal/Modal.tsx**
```
- .ant-modal-content {
+ .ant-modal-container {
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]