@momentum-design/components 0.120.18 → 0.120.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,13 +19,31 @@ const styles = css `
|
|
19
19
|
flex-direction: column;
|
20
20
|
justify-content: center;
|
21
21
|
align-items: center;
|
22
|
-
gap: 1rem;
|
23
22
|
position: absolute;
|
24
23
|
right: 50%;
|
25
24
|
bottom: 50%;
|
26
25
|
transform: translate(50%, 50%);
|
27
26
|
}
|
28
27
|
|
28
|
+
:host > [part="body"]:first-of-type {
|
29
|
+
margin-top: 0;
|
30
|
+
}
|
31
|
+
|
32
|
+
:host > [part="dialog-close-btn"] {
|
33
|
+
margin-top: 0;
|
34
|
+
}
|
35
|
+
|
36
|
+
:host > slot[name="footer"] {
|
37
|
+
margin-top: 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
slot[name="footer-link"]::slotted(*),
|
41
|
+
slot[name="footer-button-primary"]::slotted(*),
|
42
|
+
slot[name="footer-button-secondary"]::slotted(*),
|
43
|
+
slot[name="footer"]::slotted(*) {
|
44
|
+
margin-top: 1rem;
|
45
|
+
}
|
46
|
+
|
29
47
|
:host([variant='promotional']) {
|
30
48
|
--mdc-dialog-border-color: var(--mds-color-theme-outline-promotion-normal);
|
31
49
|
}
|
@@ -100,6 +118,7 @@ const styles = css `
|
|
100
118
|
align-items: center;
|
101
119
|
height: 100%;
|
102
120
|
width: 100%;
|
121
|
+
margin-top: 1rem;
|
103
122
|
}
|
104
123
|
|
105
124
|
:host::part(footer) {
|