@sinco/react 1.0.4-rc.1 → 1.0.4-rc.4
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +5 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -12894,7 +12894,7 @@ const ToastContent = styled$1(Stack$1)(({
|
|
12894
12894
|
theme
|
12895
12895
|
}) => ({
|
12896
12896
|
marginBottom: theme.spacing(2),
|
12897
|
-
zIndex:
|
12897
|
+
zIndex: 1400,
|
12898
12898
|
boxShadow: '0px 5px 5px -3px rgba(24, 39, 75, 0.2), 0px 8px 10px 1px rgba(24, 39, 75, 0.14), 0px 3px 14px 2px rgba(24, 39, 75, 0.12)',
|
12899
12899
|
'&.flex-end': {
|
12900
12900
|
marginTop: 16,
|
@@ -13011,7 +13011,10 @@ const ToastNotification = toast => {
|
|
13011
13011
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, openToast && /*#__PURE__*/React__default.createElement(ThemeProvider, {
|
13012
13012
|
theme: SincoTheme
|
13013
13013
|
}, /*#__PURE__*/React__default.createElement(Stack$1, {
|
13014
|
-
alignItems: position || 'right'
|
13014
|
+
alignItems: position || 'right',
|
13015
|
+
zIndex: 1400,
|
13016
|
+
position: 'fixed',
|
13017
|
+
width: '100%'
|
13015
13018
|
}, /*#__PURE__*/React__default.createElement(ToastContent, {
|
13016
13019
|
width: 370,
|
13017
13020
|
role: "toast",
|