bukazu-portal-react 2.1.11 → 2.1.12
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/build/index.js +2 -2
- package/package.json +1 -1
- package/src/components/App.js +1 -1
package/build/index.js
CHANGED
|
@@ -47436,7 +47436,7 @@ var ReviewsPage = /*#__PURE__*/function (_Component) {
|
|
|
47436
47436
|
|
|
47437
47437
|
var pjson = {
|
|
47438
47438
|
name: "bukazu-portal-react",
|
|
47439
|
-
version: "2.1.
|
|
47439
|
+
version: "2.1.12",
|
|
47440
47440
|
description: "A package for loading the calendar and search module from bukazu loading into a react app.",
|
|
47441
47441
|
main: "build/index.js",
|
|
47442
47442
|
repository: "https://github.com/BUKAZU/React-portal",
|
|
@@ -47679,7 +47679,7 @@ var App = /*#__PURE__*/function (_Component) {
|
|
|
47679
47679
|
_createClass$6(App, [{
|
|
47680
47680
|
key: "updateDimensions",
|
|
47681
47681
|
value: function updateDimensions() {
|
|
47682
|
-
if (this.pageWidth.current.offsetWidth <
|
|
47682
|
+
if (this.pageWidth.current.offsetWidth < 875) {
|
|
47683
47683
|
this.pageWidth.current.classList.add('bu-smaller');
|
|
47684
47684
|
}
|
|
47685
47685
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bukazu-portal-react",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.12",
|
|
4
4
|
"description": "A package for loading the calendar and search module from bukazu loading into a react app.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"repository": "https://github.com/BUKAZU/React-portal",
|
package/src/components/App.js
CHANGED
|
@@ -28,7 +28,7 @@ class App extends Component {
|
|
|
28
28
|
* Calculate & Update state of new dimensions
|
|
29
29
|
*/
|
|
30
30
|
updateDimensions() {
|
|
31
|
-
if (this.pageWidth.current.offsetWidth <
|
|
31
|
+
if (this.pageWidth.current.offsetWidth < 875) {
|
|
32
32
|
this.pageWidth.current.classList.add('bu-smaller');
|
|
33
33
|
} else {
|
|
34
34
|
}
|