@eclass/ui-kit 1.57.2 → 1.57.3
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/eclass-ui-kit.es.js +3 -2
- package/dist/eclass-ui-kit.es.js.map +1 -1
- package/dist/eclass-ui-kit.umd.js +1 -1
- package/dist/eclass-ui-kit.umd.js.map +1 -1
- package/dist/organisms/Alerts/FlashNotification.d.ts.map +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/eclass-ui-kit.es.js
CHANGED
|
@@ -7273,7 +7273,7 @@ function FlashNotification({
|
|
|
7273
7273
|
m: m2
|
|
7274
7274
|
}) {
|
|
7275
7275
|
const [shouldRenderToaster, setShouldRenderToaster] = useState(false);
|
|
7276
|
-
const [isMobile] = useMediaQuery("(max-width:
|
|
7276
|
+
const [isMobile] = useMediaQuery("(max-width: 440px)");
|
|
7277
7277
|
useEffect(() => {
|
|
7278
7278
|
if (typeof window !== "undefined" && !window[GLOBAL_TOASTER_FLAG]) {
|
|
7279
7279
|
window[GLOBAL_TOASTER_FLAG] = true;
|
|
@@ -7292,7 +7292,8 @@ function FlashNotification({
|
|
|
7292
7292
|
maxWidth: "initial",
|
|
7293
7293
|
...isMobile && {
|
|
7294
7294
|
margin: "-4px -10px",
|
|
7295
|
-
borderRadius: 0
|
|
7295
|
+
borderRadius: 0,
|
|
7296
|
+
w: "100vw!important"
|
|
7296
7297
|
}
|
|
7297
7298
|
},
|
|
7298
7299
|
children: message
|