@chainplatform/sdk 0.1.13 → 0.1.14

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
@@ -79,8 +79,8 @@ export function getScreenSize(layoutWidth, isDesktop, side_bar_width, styles) {
79
79
  padding = styles.s60;
80
80
  }
81
81
  if (layoutWidth >= styles.split_desktop) {
82
- numberChart = 4;
83
- padding = styles.s75;
82
+ numberChart = 5;
83
+ padding = styles.s90;
84
84
  }
85
85
  const percentWidth = 100 / numberChart;
86
86
  let view = {};
@@ -96,6 +96,7 @@ export function getScreenSize(layoutWidth, isDesktop, side_bar_width, styles) {
96
96
  view.newsWidth = newsWidth;
97
97
  view.splitPadding = splitPadding;
98
98
  view.percentWidth = percentWidth + "%";
99
+ view.packageWidth = (layoutWidth - padding) / numberChart;
99
100
  return view;
100
101
  }
101
102
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainplatform/sdk",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
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": {