Skip to content

Commit

Permalink
fixed invisible square at es7 example
Browse files Browse the repository at this point in the history
  • Loading branch information
diegofaria committed Jan 25, 2017
1 parent 5a958fd commit bc6f61f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/00 Quick Start/Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -1801,7 +1801,11 @@ export default class BoardSquare extends Component {
const black = (x + y) % 2 === 1;

return connectDropTarget(
<div style={{ position: 'relative' }}>
<div style={{
position: 'relative',
width: '100%',
height: '100%'
}}>
<Square black={black}>
{this.props.children}
</Square>
Expand Down

0 comments on commit bc6f61f

Please sign in to comment.