@chainplatform/sdk 0.3.2 → 0.3.3
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/Layout.js +1 -1
- package/package.json +1 -1
package/Layout.js
CHANGED
@@ -133,7 +133,7 @@ export function getScreenSize(layoutWidth, isDesktop, side_bar_width, styles) {
|
|
133
133
|
let webinarViewWidth = layoutWidth - sideBarWidth - 2 * viewPadding - (numberwebinarChart - 1) * webinarPadding;
|
134
134
|
const webinarWidth = webinarViewWidth / numberwebinarChart;
|
135
135
|
|
136
|
-
const layout = layoutWidth - sideBarWidth - (sideBarWidth > 0 ?
|
136
|
+
const layout = layoutWidth - sideBarWidth - (sideBarWidth > 0 ? 2 : 2) * viewPadding;
|
137
137
|
|
138
138
|
let view = {};
|
139
139
|
view.courseItemWidth = courseItemWidth;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@chainplatform/sdk",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.3",
|
4
4
|
"description": "@chainplatform/sdk is a React Native library implement for react-native and react-native-web. Require crypto-js and react-native-mmkv packages.",
|
5
5
|
"main": "index.js",
|
6
6
|
"devDependencies": {
|