@avalabs/k2-alpine 1.251.0 → 1.251.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.
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8390,9 +8390,6 @@ const aA = 2e3, u2 = 8e3, S6 = 4e3, lA = U3.create(O), cA = ({ sx: t }) => /* @_
|
|
|
8390
8390
|
{
|
|
8391
8391
|
variant: "body1",
|
|
8392
8392
|
sx: {
|
|
8393
|
-
overflow: "hidden",
|
|
8394
|
-
textOverflow: "ellipsis",
|
|
8395
|
-
whiteSpace: "nowrap",
|
|
8396
8393
|
textAlign: e?.description ? "left" : "center",
|
|
8397
8394
|
justifyContent: "center",
|
|
8398
8395
|
width: "100%",
|
|
@@ -8438,9 +8435,10 @@ const aA = 2e3, u2 = 8e3, S6 = 4e3, lA = U3.create(O), cA = ({ sx: t }) => /* @_
|
|
|
8438
8435
|
h7,
|
|
8439
8436
|
{
|
|
8440
8437
|
offset: { top: e.topOffset },
|
|
8438
|
+
mobileOffset: { left: "12px", right: "12px", top: e.topOffset },
|
|
8441
8439
|
style: {
|
|
8442
|
-
maxWidth: "min(
|
|
8443
|
-
width: "min(
|
|
8440
|
+
maxWidth: "min(calc(100vw - 24px), 600px)",
|
|
8441
|
+
width: "min(calc(100vw - 24px), 600px)",
|
|
8444
8442
|
display: "flex",
|
|
8445
8443
|
justifyContent: "center"
|
|
8446
8444
|
},
|
|
@@ -8476,6 +8474,14 @@ const aA = 2e3, u2 = 8e3, S6 = 4e3, lA = U3.create(O), cA = ({ sx: t }) => /* @_
|
|
|
8476
8474
|
styles: {
|
|
8477
8475
|
".description-toast-container": {
|
|
8478
8476
|
borderRadius: "18px !important"
|
|
8477
|
+
},
|
|
8478
|
+
// Override Sonner's mobile styles to prevent full-width toasts
|
|
8479
|
+
"@media (max-width: 600px)": {
|
|
8480
|
+
"[data-sonner-toaster] [data-sonner-toast] ": {
|
|
8481
|
+
width: "auto !important",
|
|
8482
|
+
left: "auto !important",
|
|
8483
|
+
right: "auto !important"
|
|
8484
|
+
}
|
|
8479
8485
|
}
|
|
8480
8486
|
}
|
|
8481
8487
|
}
|