diff --git a/src/App.js b/src/App.js index 85810b4..6c17967 100644 --- a/src/App.js +++ b/src/App.js @@ -5,7 +5,7 @@ import TopBar from './TopBar'; import VideoPlayer from './VideoPlayer'; import VideoInfo from './VideoInfo'; import VideoList from './VideoList'; -import Suggestion from './areainfo/Suggestion'; +import Suggestion from './Suggestion'; import { ReactHeight } from 'react-height'; import './css/App.css'; @@ -60,7 +60,9 @@ class App extends React.Component { xs="12" lg={this.state.isInfoToggled ? { span: 5, order: 1 } : { span: 3, order: 1 }} className="p-0 p-xs-0" - style={window.innerWidth < 992 ? { 'overflow': "auto", 'display': 'fixed', 'maxHeight': this.state.playerHeight * 1.4 + 'px' } : { 'overflow': "auto", 'maxHeight': `${this.state.playerHeight}px` }}> + style={window.innerWidth < 992 ? + { 'overflow': "auto", 'display': 'fixed', 'maxHeight': this.state.playerHeight * 1.4 + 'px' } : + { 'overflow': "auto", 'maxHeight': `${this.state.playerHeight}px` }}> {/* true = style for xs ;; false = style for lg */}