@ray-js/ray-ipc-player 2.0.18-beta-5 → 2.0.18-beta-6

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/lib/index.js CHANGED
@@ -400,10 +400,7 @@ const Player = props => {
400
400
  }, devId);
401
401
  }
402
402
  }, locals.getLang('ipc_player_re_wake_camera'))) : /*#__PURE__*/React.createElement(View, {
403
- style: {
404
- width: '95%',
405
- textAlign: 'center'
406
- }
403
+ className: clsx(Styles.err_container)
407
404
  }, /*#__PURE__*/React.createElement(View, {
408
405
  className: clsx(Styles.iconfont, Styles.icon_tishi, !playState.deviceOnlineState && Styles.hide)
409
406
  }), /*#__PURE__*/React.createElement(View, {
@@ -111,6 +111,12 @@
111
111
  display: block;
112
112
  }
113
113
 
114
+ .err_container {
115
+ width: 100%;
116
+ text-align: center;
117
+ padding: 0 30px;
118
+ }
119
+
114
120
  .device_sleep, .re_wake_camera {
115
121
  width: 100%;
116
122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/ray-ipc-player",
3
- "version": "2.0.18-beta-5",
3
+ "version": "2.0.18-beta-6",
4
4
  "description": "ray小程序播放器",
5
5
  "keywords": [
6
6
  "tuya-miniapp",