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

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 86ea505  Fix the current site to allow click links in doc
86ea505 is described below

commit 86ea505b6d0ab51432c2820d7517f78b61c44ae4
Author: Henry Saputra <[email protected]>
AuthorDate: Mon Feb 1 01:47:46 2021 -0800

    Fix the current site to allow click links in doc
    
    Since there will be some time before we get site2 up and running, sending
    this fix to allow links in doc content ot be clickable.
    
    Currently, if user go to https://bookkeeper.apache.org/docs/latest/ the 
links
    in the doc can not be click since the div overlay of navigator on left is
    covering the content body.
    
    The simple proposed fix is to set width of navigator container class to
    certain width to not cover the body content.
    
    To verify behavior and proposed fix difference:
    
    1. Go to https://bookkeeper.apache.org/docs/latest/ and try to click the 
`WAL` link. You will not see the cursor change to hand icon to click the link
    2. Now, visit the proposed fix at 
https://hsaputra.github.io/bookkeeper-staging-site/docs/latest/, then when  you 
hover on top of `WAL` link you should see the cursor change to hand point and 
allow you to click the link and navigate to the URL.
    
    
    Reviewers: Enrico Olivelli <[email protected]>
    
    This closes #2570 from hsaputra/fix_anchor_doc
---
 site/README.md      | 2 --
 site/css/style.sass | 2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/site/README.md b/site/README.md
index 2dd5a1c..5c8ccc4 100644
--- a/site/README.md
+++ b/site/README.md
@@ -6,8 +6,6 @@ Welcome to the code for the Apache BookKeeper website! 
Instructions on building
 
 The site is built using Jekyll and Sass.
 
-> I'll provide more specific info here later.
-
 ## Prerequisities
 
 In order to run the site locally, you need to have the following installed:
diff --git a/site/css/style.sass b/site/css/style.sass
index ad223fd..6301fb9 100644
--- a/site/css/style.sass
+++ b/site/css/style.sass
@@ -159,6 +159,8 @@ h2.bk-subtitle
   .container
     top: $navbar-height
     position: sticky
+    flex: 1 1 auto
+    max-width: 240px
 
 .bk-community-container
   width: 60%

Reply via email to