tntd 1.3.54 → 1.3.55
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/components/Page/index.js +1 -1
- package/lib/Page/index.js +1 -1
- package/package.json +1 -1
package/components/Page/index.js
CHANGED
|
@@ -68,7 +68,7 @@ const PageLayout = ({
|
|
|
68
68
|
const headerStyle = {
|
|
69
69
|
height: computedHeaderHeight,
|
|
70
70
|
padding: `${size === 'small' ? 20 : 24}px`,
|
|
71
|
-
zIndex: total ||
|
|
71
|
+
zIndex: inLayout ? 1 : total || 1
|
|
72
72
|
};
|
|
73
73
|
const contentStyle = {
|
|
74
74
|
display: boxCount > 0 ? 'flex' : 'block',
|
package/lib/Page/index.js
CHANGED
|
@@ -114,7 +114,7 @@ var PageLayout = function PageLayout(_ref) {
|
|
|
114
114
|
var headerStyle = {
|
|
115
115
|
height: computedHeaderHeight,
|
|
116
116
|
padding: "".concat(size === 'small' ? 20 : 24, "px"),
|
|
117
|
-
zIndex: total ||
|
|
117
|
+
zIndex: inLayout ? 1 : total || 1
|
|
118
118
|
};
|
|
119
119
|
var contentStyle = {
|
|
120
120
|
display: boxCount > 0 ? 'flex' : 'block',
|