Skip to content

Commit

Permalink
fix: 修复custom tooltip导致容器无限增大 (#2769)
Browse files Browse the repository at this point in the history
  • Loading branch information
visiky authored Aug 9, 2021
1 parent cc96c74 commit 83740b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
6 changes: 1 addition & 5 deletions docs/common/tooltip.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Tooltip offset.

<description>**optional** _Function_</description>

Support for custom templates.
Support for custom templates. [Live demo](/en/examples/case/customize#customize-tooltip)

```ts
{
Expand All @@ -200,7 +200,3 @@ Support for custom templates.
}
}
```

Try it:

<playground path="case/customize/demo/customize-tooltip.ts" rid="customize-tooltip"></playground>
5 changes: 1 addition & 4 deletions docs/common/tooltip.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ tooltip 偏移量。

<description>**可选** _Function_</description>

支持自定义模板。
支持自定义模板。[在线示例](/zh/examples/case/customize#customize-tooltip)

```ts
{
Expand All @@ -202,6 +202,3 @@ tooltip 偏移量。
}
```

尝试一下:

<playground path="case/customize/demo/customize-tooltip.ts" rid="customize-tooltip"></playground>

0 comments on commit 83740b1

Please sign in to comment.