@lls/lls-audio 0.0.37 → 0.0.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/lls-audio",
3
- "version": "0.0.37",
3
+ "version": "0.0.39",
4
4
  "main": "index.js",
5
5
  "devDependencies": {
6
6
  "@kadira/storybook": "^2.21.0",
package/player/index.js CHANGED
@@ -360,7 +360,7 @@ var Loader = function Loader() {
360
360
 
361
361
  var Title = function Title(_ref) {
362
362
  var content = _ref.content;
363
- return _react2.default.createElement('div', { className: (0, _noImportant.css)(styles.title), dangerouslySetInnerHTML: { __html: content } });
363
+ return content ? _react2.default.createElement('div', { className: (0, _noImportant.css)(styles.title), dangerouslySetInnerHTML: { __html: content } }) : null;
364
364
  };
365
365
 
366
366
  var Content = function Content(_ref2) {
@@ -18,7 +18,6 @@ exports.default = {
18
18
  boxShadow: '0 0 7px rgba(0, 0, 0, 0.32)',
19
19
  backgroundColor: '#fff',
20
20
  bottom: 0,
21
- height: 156,
22
21
  zIndex: 10000000,
23
22
  width: '90%',
24
23
  marginLeft: '50%',
@@ -65,9 +64,11 @@ exports.default = {
65
64
  alignItems: 'center',
66
65
  justifyContent: 'center',
67
66
  marginTop: 20,
67
+ marginBottom: 10,
68
68
  height: 85
69
69
  },
70
70
  title: {
71
+ minHeight: '37px',
71
72
  color: '#474f6f',
72
73
  fontSize: '10px',
73
74
  fontWeight: 'bold',
package/stories/player.js CHANGED
@@ -74,6 +74,7 @@ var PlayerExample = function (_Component) {
74
74
  console.log("close", id, url);
75
75
  }
76
76
  };
77
+
77
78
  return _react2.default.createElement(
78
79
  'div',
79
80
  null,