@chainplatform/sdk 0.2.3 → 0.2.5

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.
Files changed (2) hide show
  1. package/Layout.js +3 -2
  2. package/package.json +1 -1
package/Layout.js CHANGED
@@ -39,7 +39,7 @@ export function getScreenSize(layoutWidth, isDesktop, side_bar_width, styles) {
39
39
  newsSpace = styles.s45 + styles.fs15;
40
40
  // News
41
41
  newsItem = 2;
42
- newsPadding = styles.s30 + styles.fs15;
42
+ newsPadding = styles.s30;
43
43
  }
44
44
  let viewWidth = styles.s345;
45
45
  let viewHeight = styles.s195;
@@ -58,7 +58,7 @@ export function getScreenSize(layoutWidth, isDesktop, side_bar_width, styles) {
58
58
  newsSpace = styles.s75;
59
59
  // News
60
60
  newsItem = 3;
61
- newsPadding = styles.s45 + styles.fs15;
61
+ newsPadding = styles.s45;
62
62
  }
63
63
  if (layoutWidth >= styles.wide_split_desktop) {
64
64
  // Course
@@ -115,6 +115,7 @@ export function getScreenSize(layoutWidth, isDesktop, side_bar_width, styles) {
115
115
  const webinarWidth = webinarViewWidth / numberwebinarChart;
116
116
  let view = {};
117
117
  view.newsItemWidth = newsItemWidth;
118
+ view.newsItem = newsItem;
118
119
  view.newsPadding = newsPadding;
119
120
  view.webinarWidth = webinarWidth;
120
121
  view.webinarPadding = webinarPadding;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainplatform/sdk",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
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": {