You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2022/12/12 05:18:21 UTC

[echarts-examples] branch gh-pages updated: tweak scroll-margin-top

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

wangzx pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git


The following commit(s) were added to refs/heads/gh-pages by this push:
     new c6a73285 tweak scroll-margin-top
c6a73285 is described below

commit c6a732855a1349e9da11168c5a5b82d18c35dbbb
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Mon Dec 12 13:17:48 2022 +0800

    tweak scroll-margin-top
---
 src/explore/Explore.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/explore/Explore.vue b/src/explore/Explore.vue
index 885b94a6..865822df 100644
--- a/src/explore/Explore.vue
+++ b/src/explore/Explore.vue
@@ -422,7 +422,7 @@ $pd-lg: 20px;
     color: #464646;
     font-size: 20px;
     // TODO use variable
-    scroll-margin-top: 80px;
+    scroll-margin-top: $nav-height - 20px;
   }
   .chart-type-head span {
     font-size: 16px;


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