@elicecontents/content-ui 1.0.24-rc.3 → 1.0.24
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.
|
@@ -122,11 +122,11 @@ var Layout = function Layout(_ref) {
|
|
|
122
122
|
var HeaderContainerInner = /*#__PURE__*/_styled__default.default(Stack, {
|
|
123
123
|
target: "efnp08i6"
|
|
124
124
|
})("production" === "production" ? {
|
|
125
|
-
name: "
|
|
126
|
-
styles: "height:74px;width:100%;
|
|
125
|
+
name: "14ia2gs",
|
|
126
|
+
styles: "height:74px;width:100%;justify-content:space-between;flex-direction:row"
|
|
127
127
|
} : {
|
|
128
|
-
name: "
|
|
129
|
-
styles: "height:74px;width:100%;
|
|
128
|
+
name: "14ia2gs",
|
|
129
|
+
styles: "height:74px;width:100%;justify-content:space-between;flex-direction:row",
|
|
130
130
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
131
131
|
});
|
|
132
132
|
var HeaderContainer = function HeaderContainer(_ref2) {
|
|
@@ -141,7 +141,7 @@ var HeaderTitle = LayoutHeaderTitle.default;
|
|
|
141
141
|
var HeaderSubTitle = LayoutHeaderSubTitle.default;
|
|
142
142
|
var ContentContainerInner = /*#__PURE__*/_styled__default.default(Stack, {
|
|
143
143
|
target: "efnp08i5"
|
|
144
|
-
})("flex:1;width:100%;max-
|
|
144
|
+
})("flex:1;width:100%;max-height:calc(100vh - 74px - 92px);overflow-y:auto;min-height:0;position:relative;&::-webkit-scrollbar{width:8px;}&::-webkit-scrollbar-thumb{background-color:", function (_ref3) {
|
|
145
145
|
var theme = _ref3.theme;
|
|
146
146
|
return theme.palette.primary.main;
|
|
147
147
|
}, ";border-radius:4px;}&::-webkit-scrollbar-track{background-color:", function (_ref4) {
|
|
@@ -211,22 +211,22 @@ var ContentContainer = function ContentContainer(_ref5) {
|
|
|
211
211
|
};
|
|
212
212
|
}, []);
|
|
213
213
|
return jsxRuntime.jsxs(Stack, {
|
|
214
|
-
sx:
|
|
214
|
+
sx: {
|
|
215
215
|
position: 'relative',
|
|
216
216
|
width: '100%',
|
|
217
217
|
height: '100%'
|
|
218
|
-
},
|
|
218
|
+
},
|
|
219
219
|
children: [jsxRuntime.jsxs(ContentContainerInner, {
|
|
220
220
|
ref: contentRef,
|
|
221
221
|
theme: theme,
|
|
222
222
|
flex: 1,
|
|
223
|
-
sx: {
|
|
223
|
+
sx: Object.assign(Object.assign({}, sx), {
|
|
224
224
|
scrollbarWidth: 'none',
|
|
225
225
|
msOverflowStyle: 'none',
|
|
226
226
|
'&::-webkit-scrollbar': {
|
|
227
227
|
display: 'none'
|
|
228
228
|
}
|
|
229
|
-
},
|
|
229
|
+
}),
|
|
230
230
|
children: [children, enableScrollTracking && hasScroll && !isScrollActive && jsxRuntime.jsx(ScrollMoreButton, {
|
|
231
231
|
children: jsxRuntime.jsx(ScrollMoreIcon.default, {
|
|
232
232
|
size: 32,
|
|
@@ -115,11 +115,11 @@ var Layout = function Layout(_ref) {
|
|
|
115
115
|
var HeaderContainerInner = /*#__PURE__*/_styled(Stack, {
|
|
116
116
|
target: "efnp08i6"
|
|
117
117
|
})("production" === "production" ? {
|
|
118
|
-
name: "
|
|
119
|
-
styles: "height:74px;width:100%;
|
|
118
|
+
name: "14ia2gs",
|
|
119
|
+
styles: "height:74px;width:100%;justify-content:space-between;flex-direction:row"
|
|
120
120
|
} : {
|
|
121
|
-
name: "
|
|
122
|
-
styles: "height:74px;width:100%;
|
|
121
|
+
name: "14ia2gs",
|
|
122
|
+
styles: "height:74px;width:100%;justify-content:space-between;flex-direction:row",
|
|
123
123
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
124
124
|
});
|
|
125
125
|
var HeaderContainer = function HeaderContainer(_ref2) {
|
|
@@ -134,7 +134,7 @@ var HeaderTitle = LayoutHeaderTitle;
|
|
|
134
134
|
var HeaderSubTitle = LayoutHeaderSubTitle;
|
|
135
135
|
var ContentContainerInner = /*#__PURE__*/_styled(Stack, {
|
|
136
136
|
target: "efnp08i5"
|
|
137
|
-
})("flex:1;width:100%;max-
|
|
137
|
+
})("flex:1;width:100%;max-height:calc(100vh - 74px - 92px);overflow-y:auto;min-height:0;position:relative;&::-webkit-scrollbar{width:8px;}&::-webkit-scrollbar-thumb{background-color:", function (_ref3) {
|
|
138
138
|
var theme = _ref3.theme;
|
|
139
139
|
return theme.palette.primary.main;
|
|
140
140
|
}, ";border-radius:4px;}&::-webkit-scrollbar-track{background-color:", function (_ref4) {
|
|
@@ -204,22 +204,22 @@ var ContentContainer = function ContentContainer(_ref5) {
|
|
|
204
204
|
};
|
|
205
205
|
}, []);
|
|
206
206
|
return jsxs(Stack, {
|
|
207
|
-
sx:
|
|
207
|
+
sx: {
|
|
208
208
|
position: 'relative',
|
|
209
209
|
width: '100%',
|
|
210
210
|
height: '100%'
|
|
211
|
-
},
|
|
211
|
+
},
|
|
212
212
|
children: [jsxs(ContentContainerInner, {
|
|
213
213
|
ref: contentRef,
|
|
214
214
|
theme: theme,
|
|
215
215
|
flex: 1,
|
|
216
|
-
sx: {
|
|
216
|
+
sx: Object.assign(Object.assign({}, sx), {
|
|
217
217
|
scrollbarWidth: 'none',
|
|
218
218
|
msOverflowStyle: 'none',
|
|
219
219
|
'&::-webkit-scrollbar': {
|
|
220
220
|
display: 'none'
|
|
221
221
|
}
|
|
222
|
-
},
|
|
222
|
+
}),
|
|
223
223
|
children: [children, enableScrollTracking && hasScroll && !isScrollActive && jsx(ScrollMoreButton, {
|
|
224
224
|
children: jsx(ScrollMoreIcon, {
|
|
225
225
|
size: 32,
|