From 1d008dc41a634724cb69548ec6472a8d8788bc8c Mon Sep 17 00:00:00 2001 From: matteo Date: Sun, 17 Feb 2019 16:20:16 +0100 Subject: [PATCH] eliminata areainfo/ ;; Suggestion e Wikipedia sono in src/ --- src/App.js | 6 ++++-- src/{areainfo => }/Suggestion.js | 12 ++++++------ src/VideoInfo.js | 8 ++++---- src/{areainfo => }/Wikipedia.js | 0 src/reccomenders/Search.js | 4 +--- 5 files changed, 15 insertions(+), 15 deletions(-) rename src/{areainfo => }/Suggestion.js (77%) rename src/{areainfo => }/Wikipedia.js (100%) 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 */}