diff --git a/src/routes/Detail/StreamsList/StreamsList.js b/src/routes/Detail/StreamsList/StreamsList.js index 647c8b9ae..4452b3c7e 100644 --- a/src/routes/Detail/StreamsList/StreamsList.js +++ b/src/routes/Detail/StreamsList/StreamsList.js @@ -1,35 +1,32 @@ -import React, { Component } from 'react'; +import React from 'react'; import PropTypes from 'prop-types'; -import classnames from 'classnames'; import Icon from 'stremio-icons/dom'; import Stream from './Stream'; import styles from './styles'; -class StreamsList extends Component { - render() { - return ( -
-
-
- {this.props.streams - .map((stream) => - - )} -
-
- More Add-ons -
+const StreamsList = (props) => { + return ( +
+
+
+ {props.streams + .map((stream) => + + )} +
+
+ More Add-ons
- ); - } +
+ ); } StreamsList.propTypes = { diff --git a/src/routes/Detail/StreamsList/styles.less b/src/routes/Detail/StreamsList/styles.less index 35348bf55..6042cc533 100644 --- a/src/routes/Detail/StreamsList/styles.less +++ b/src/routes/Detail/StreamsList/styles.less @@ -31,8 +31,8 @@ } .button { - width: 44%; - height: 8%; + width: calc(0.4 * var(--scroll-container-width)); + height: calc(0.12 * var(--scroll-container-width)); cursor: pointer; display: flex; align-items: center;