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 2020/12/07 10:58:17 UTC

[incubator-echarts-www] branch master updated: use sticky on page nav

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e3e0d07  use sticky on page nav
e3e0d07 is described below

commit e3e0d07665ba6ad15770166391ed1ca02538b4e6
Author: pissang <bm...@gmail.com>
AuthorDate: Mon Dec 7 18:56:54 2020 +0800

    use sticky on page nav
---
 _scss/_components.page.scss | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/_scss/_components.page.scss b/_scss/_components.page.scss
index 42a1bc0..bf0ad71 100644
--- a/_scss/_components.page.scss
+++ b/_scss/_components.page.scss
@@ -107,10 +107,11 @@ $info-height: 120px;
 }
 
     .page-nav {
-        position: fixed;
+        position: sticky;
         overflow: auto;
+        float: left;
         width: $single-page-left-width;
-        top: 260px;
+        top: 20px;
         bottom: 0;
         margin: 0 0 0 30px;
         padding: 0 0 20px 0;


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