You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2022/04/19 06:33:30 UTC

[echarts-doc] branch dev updated: optimize doc style

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git


The following commit(s) were added to refs/heads/dev by this push:
     new ecbe8faf optimize doc style
ecbe8faf is described below

commit ecbe8faf6b5a8dfa74cbb95652ff603ddf328ba4
Author: pissang <bm...@gmail.com>
AuthorDate: Tue Apr 19 14:33:23 2022 +0800

    optimize doc style
---
 src/components/DocContentItemCard.vue   | 10 +++++++---
 zh/option/component/dataset.md          |  2 +-
 zh/option/partial/axisPointer-common.md |  2 --
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/src/components/DocContentItemCard.vue b/src/components/DocContentItemCard.vue
index e5a57606..569c9741 100644
--- a/src/components/DocContentItemCard.vue
+++ b/src/components/DocContentItemCard.vue
@@ -219,7 +219,7 @@ export default {
 
 <style lang="scss">
 
-$card-margin: 15px;
+$card-margin: 10px;
 $children-padding: 10px;
 
 $hierarchy-guider-color: #E0E6F1;
@@ -416,10 +416,14 @@ $hierarchy-guider-color: #E0E6F1;
                 vertical-align: middle;
                 width: $children-padding + $card-margin + 3;
                 margin-left: -$children-padding - $card-margin - 14;
-                margin-right: 2px;
+                margin-right: 0px;
                 // width: $i * ($children-padding + $card-padding);
                 // margin-left: -$i * ($children-padding + $card-padding);
-                border-top: 1px solid $hierarchy-guider-color;
+                border-bottom: 1px solid $hierarchy-guider-color;
+                border-left: 1px solid $hierarchy-guider-color;
+                height: 15px;
+                margin-top: -15px;
+                border-bottom-left-radius: 10px;
 
                 position: relative;
 
diff --git a/zh/option/component/dataset.md b/zh/option/component/dataset.md
index 4b6f7717..cfc77394 100644
--- a/zh/option/component/dataset.md
+++ b/zh/option/component/dataset.md
@@ -60,7 +60,7 @@ ECharts 4 开始支持了 `数据集`(`dataset`)组件用于单独的数据
 + `null/undefined/'auto'`:默认,自动探测。
 + `true`:第一行/列是维度名信息。
 + `false`:第一行/列直接开始是数据。
-+ `number`: 维度名行/列数,也就是数据行/列的开始索引。例如:`sourceHeader: 2` 意味着前两行/列为维度名,从第三行/列开始为数据。 
++ `number`: 维度名行/列数,也就是数据行/列的开始索引。例如:`sourceHeader: 2` 意味着前两行/列为维度名,从第三行/列开始为数据。
 
 注意:“第一行/列” 的意思是,如果 [series.seriesLayoutBy](~series.seriesLayoutBy) 设置为 `'column'`(默认值),则取第一行,如果 `series.seriesLayoutBy` 设置为 `'row'`,则取第一列。
 
diff --git a/zh/option/partial/axisPointer-common.md b/zh/option/partial/axisPointer-common.md
index f9ff5d4a..8092e91a 100644
--- a/zh/option/partial/axisPointer-common.md
+++ b/zh/option/partial/axisPointer-common.md
@@ -67,8 +67,6 @@ axisPointer 的 label 默认不显示(也就是默认只显示指示线),
 对于数值轴、时间轴,如果开启了 [snap](~xAxis.axisPointer.snap),则 axisPointer 会自动吸附到最近的点上。
 
 
----
-
 
 
 {{ target: partial-axisPointer-common }}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org