mario-core 1.1.65-es-layout → 1.1.67-es-layout
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.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23142,12 +23142,15 @@ var TheContent = function TheContent(_ref) {
|
|
|
23142
23142
|
var location = reactRouterDom.useLocation();
|
|
23143
23143
|
var pathname = location.pathname;
|
|
23144
23144
|
var dashboard = !pathname.includes("/admin") ? "box-container" : "";
|
|
23145
|
-
var padding = pathname.includes("/admin") ? "pt-3
|
|
23145
|
+
var padding = pathname.includes("/admin") ? "pt-3" : "";
|
|
23146
23146
|
return React__default.createElement("main", {
|
|
23147
23147
|
className: "c-main " + dashboard
|
|
23148
23148
|
}, React__default.createElement(react.CContainer, {
|
|
23149
23149
|
fluid: true,
|
|
23150
|
-
className: "h-100 " + padding
|
|
23150
|
+
className: "h-100 " + padding,
|
|
23151
|
+
style: {
|
|
23152
|
+
paddingBottom: pathname.includes("/admin") ? '10rem' : 0
|
|
23153
|
+
}
|
|
23151
23154
|
}, React__default.createElement(React.Suspense, {
|
|
23152
23155
|
fallback: loading$5
|
|
23153
23156
|
}, React__default.createElement(reactRouterDom.Switch, null, routes.map(function (route, idx) {
|