This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-handbook.git
The following commit(s) were added to refs/heads/master by this push:
new 1ea6f5f chore: fix option link and add `scroll-margin-top` for anchor
1ea6f5f is described below
commit 1ea6f5fcc8527ab3ae38641548460a50e1b0fe7f
Author: plainheart <[email protected]>
AuthorDate: Sat Dec 17 23:39:06 2022 +0800
chore: fix option link and add `scroll-margin-top` for anchor
---
contents/zh/best-practices/aria.md | 2 +-
layouts/default.vue | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/contents/zh/best-practices/aria.md
b/contents/zh/best-practices/aria.md
index 98fa309..135863c 100644
--- a/contents/zh/best-practices/aria.md
+++ b/contents/zh/best-practices/aria.md
@@ -71,6 +71,6 @@ option = {
<md-example src="doc-example/aria-decal-simple"></md-example>
-如果需要自定义贴花图案,可以使用 [aria.decal.decals](option.html#aria.decal.decals) 配置出灵活多变的图案。
+如果需要自定义贴花图案,可以使用 [aria.decal.decals](${optionPath}aria.decal.decals)
配置出灵活多变的图案。
更具体的信息请参见 [ARIA 文档](${optionPath}aria.decal)。
diff --git a/layouts/default.vue b/layouts/default.vue
index aa10043..28f95bd 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -90,6 +90,7 @@ body {
h5,
h6 {
font-weight: 500;
+ scroll-margin-top: 20px;
&:hover .permalink {
display: inline-block;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]