bam32bittheme
Advanced tools
Comparing version 2.1.34 to 2.1.35
@@ -40,4 +40,3 @@ "use strict"; | ||
prodURL, | ||
wssURL, | ||
isVisibleOnMobile | ||
wssURL | ||
} = _ref; | ||
@@ -52,2 +51,3 @@ const [isScroll, setIsScroll] = (0, _react.useState)(false); | ||
const initialSidebarCollapsed = localStorage.getItem('sidebarCollapsed') === 'true'; | ||
const isHeaderVisible = localStorage.getItem('headerVisible') !== 'false'; | ||
const saveSidebarCollapsedToLocalStorage = value => { | ||
@@ -135,8 +135,8 @@ localStorage.setItem('sidebarCollapsed', value.toString()); | ||
}, | ||
mt: isVisibleOnMobile !== false ? +theme.spacing(6.25).replace('px', '') + (isMobile ? 80 : 150) + 'px' : 8, | ||
minHeight: isVisibleOnMobile !== false ? "calc(100vh - ".concat(+theme.spacing(6.25).replace('px', '') + 150, "px)") : '', | ||
mt: isHeaderVisible !== false ? +theme.spacing(6.25).replace('px', '') + (isMobile ? 80 : 150) + 'px' : 8, | ||
minHeight: isHeaderVisible !== false ? "calc(100vh - ".concat(+theme.spacing(6.25).replace('px', '') + 150, "px)") : '', | ||
display: 'flex', | ||
flexDirection: 'column' | ||
} | ||
}, isVisibleOnMobile !== false ? /*#__PURE__*/_react.default.createElement(_RouteHeader.default, { | ||
}, isHeaderVisible && /*#__PURE__*/_react.default.createElement(_RouteHeader.default, { | ||
bodyPadding: bodyPadding, | ||
@@ -155,3 +155,3 @@ wssURL: wssURL, | ||
onLocaleChange: onLocaleChange | ||
}) : null, children), /*#__PURE__*/_react.default.createElement(_PopUpOkey.default, { | ||
}), children), /*#__PURE__*/_react.default.createElement(_PopUpOkey.default, { | ||
open: Boolean(info), | ||
@@ -158,0 +158,0 @@ text: t({ |
{ | ||
"name": "bam32bittheme", | ||
"version": "2.1.34", | ||
"version": "2.1.35", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "description": "32bit Theme for Material UI v5.x", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1551826