Skip to content

Commit 50a674d

Browse files
committed
docs: 0 width
1 parent 4de5618 commit 50a674d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/hyper-table/language/en-GB/Readme.tid

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,8 @@ This plugin provides several widgets:
2222
There are a variety of parameters that can be used on the Widget, and you can start by checking out the use cases on the documentation site to learn from the examples, or by piecing together your own parameters based on the parameter list.
2323

2424
[[Read the Parameters Table|$:/plugins/linonetwo/hyper-table/ParametersTable]]
25+
26+
!! Troubleshooting
27+
28+
* The table does not display, and the width is found to be 0
29+
** Try adding `width: 100%` to the parent container, because the table will try to adapt to the width of the parent container, and if the parent container is initially 0, it will be like this.

src/hyper-table/language/zh-Hans/Readme.tid

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,8 @@ title: $:/plugins/linonetwo/hyper-table/language/zh-Hans/Readme
2222
微件上可以使用各种参数,你可以先在文档网站上查看用例,从例子中学习,或根据参数表自己拼凑参数。
2323

2424
[[查看参数表|$:/plugins/linonetwo/hyper-table/ParametersTable]]
25+
26+
!! 问题排查
27+
28+
* 表格不展示,检查发现宽度为 0
29+
** 试着给父容器加上 `width: 100%`,因为表格会尝试适配父容器宽度,而如果父容器一开始宽度为 0 就会这样了。

0 commit comments

Comments
 (0)