Skip to content

Commit

Permalink
Minor code style fixes
Browse files Browse the repository at this point in the history
Just tidying up #151 and #156 a bit
  • Loading branch information
cookpete committed Feb 19, 2017
1 parent 931cd28 commit b39b1ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/demo/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ export default class App extends Component {
<div className='app'>
<section className='section'>
<h1>ReactPlayer Demo</h1>
<div className='video-player'>
<div className='player-wrapper'>
<ReactPlayer
ref={player => { this.player = player }}
className='react-player'
width={'100%'}
height={'100%'}
width='100%'
height='100%'
url={url}
playing={playing}
playbackRate={playbackRate}
Expand Down
4 changes: 2 additions & 2 deletions src/demo/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ $gutter-width: 10px;
vertical-align: top;
}

.video-player {
.player-wrapper {
width: 480px;
height: 270px
height: 270px;
}

.react-player {
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ module.exports = {
loader: 'json-loader'
}, {
test: /\.scss$/,
loader: ExtractTextPlugin.extract({fallback: 'style-loader', use: 'css-loader?sourceMap!sass-loader?sourceMap'}),
loader: ExtractTextPlugin.extract({ fallback: 'style-loader', use: 'css-loader?sourceMap!sass-loader?sourceMap' }),
include: path.join(__dirname, 'src')
}, {
test: /normalize.css$/,
loader: ExtractTextPlugin.extract({fallback: 'style-loader', use: 'css-loader'}),
loader: ExtractTextPlugin.extract({ fallback: 'style-loader', use: 'css-loader' }),
include: path.join(__dirname, 'node_modules', 'normalize.css')
}]
}
Expand Down

0 comments on commit b39b1ec

Please sign in to comment.