Skip to content

Commit

Permalink
docs: modify the sample style error (#3731)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimplesY authored Jul 5, 2023
1 parent b0bc56d commit c70021f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites/x6-sites/docs/tutorial/basic/graph.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ redirect_from:

```html
<!-- 注意,使用 autoResize 配置时,需要在画布容器外面再套一层宽高都是 100% 的外层容器,在外层容器上监听尺寸改变,当外层容器大小改变时,画布自动重新计算宽高以及元素位置。 -->
<div style="width=100%; height=100%">
<div style="width:100%; height:100%">
<div id="container"></div>
</div>
```
Expand Down

0 comments on commit c70021f

Please sign in to comment.