eliminata areainfo/ ;; Suggestion e Wikipedia sono in src/

This commit is contained in:
matteo
2019-02-17 16:20:16 +01:00
parent 1c3a5b3409
commit 1d008dc41a
5 changed files with 15 additions and 15 deletions
+4 -2
View File
@@ -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 */}
<div className="d-flex justify-content-center">
<Button