@saasquatch/mint-components 2.5.5-1 → 2.5.5-2

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.
@@ -8481,8 +8481,13 @@ function useWidgetVerification() {
8481
8481
 
8482
8482
  const style$3 = {
8483
8483
  Dialog: {
8484
+ // Embed iframes grow to the widget's full height, so a centred dialog lands mid-widget
8485
+ "&::part(base)": {
8486
+ alignItems: "flex-start",
8487
+ },
8484
8488
  "&::part(panel)": {
8485
8489
  maxWidth: "480px",
8490
+ marginTop: "var(--sl-spacing-x-large)",
8486
8491
  },
8487
8492
  "&::part(body)": {
8488
8493
  padding: "0 var(--sl-spacing-x-large)",
@@ -10,8 +10,13 @@ import { SHOW_CODE_NAMESPACE, VERIFICATION_EMAIL_NAMESPACE, VERIFICATION_PARENT_
10
10
  import { useWidgetVerification, } from "./useWidgetVerification";
11
11
  const style = {
12
12
  Dialog: {
13
+ // Embed iframes grow to the widget's full height, so a centred dialog lands mid-widget
14
+ "&::part(base)": {
15
+ alignItems: "flex-start",
16
+ },
13
17
  "&::part(panel)": {
14
18
  maxWidth: "480px",
19
+ marginTop: "var(--sl-spacing-x-large)",
15
20
  },
16
21
  "&::part(body)": {
17
22
  padding: "0 var(--sl-spacing-x-large)",
@@ -8477,8 +8477,13 @@ function useWidgetVerification() {
8477
8477
 
8478
8478
  const style$3 = {
8479
8479
  Dialog: {
8480
+ // Embed iframes grow to the widget's full height, so a centred dialog lands mid-widget
8481
+ "&::part(base)": {
8482
+ alignItems: "flex-start",
8483
+ },
8480
8484
  "&::part(panel)": {
8481
8485
  maxWidth: "480px",
8486
+ marginTop: "var(--sl-spacing-x-large)",
8482
8487
  },
8483
8488
  "&::part(body)": {
8484
8489
  padding: "0 var(--sl-spacing-x-large)",