We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b689c8a commit c74dffdCopy full SHA for c74dffd
src/modal/index.scss
@@ -10,12 +10,16 @@ $modal-max-height: 80vh;
10
flex: 1;
11
display: flex;
12
flex-direction: column;
13
- .dt-modal-body {
+ .dtc-modal-body {
14
15
padding: 16px 24px;
16
overflow-y: auto;
17
min-height: 0;
18
}
19
+ .dtc-modal-alert {
20
+ border-radius: 6px;
21
+ margin: 4px;
22
+ }
23
24
.ant-modal-header,
25
.ant-modal-footer {
src/modal/modal.tsx
@@ -42,6 +42,7 @@ export default function Modal({
42
>
43
{banner && (
44
<Alert
45
+ className="dtc-modal-alert"
46
message={isValidBanner(banner) ? banner : banner.message}
47
banner
48
{...(isValidBanner(banner) ? {} : omit(banner, 'message'))}
0 commit comments