Skip to content

Commit bc6f61f

Browse files
authored
fixed invisible square at es7 example
1 parent 5a958fd commit bc6f61f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/00 Quick Start/Tutorial.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1801,7 +1801,11 @@ export default class BoardSquare extends Component {
18011801
const black = (x + y) % 2 === 1;
18021802

18031803
return connectDropTarget(
1804-
<div style={{ position: 'relative' }}>
1804+
<div style={{
1805+
position: 'relative',
1806+
width: '100%',
1807+
height: '100%'
1808+
}}>
18051809
<Square black={black}>
18061810
{this.props.children}
18071811
</Square>

0 commit comments

Comments
 (0)