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

russellspitzer pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-docs.git


The following commit(s) were added to refs/heads/main by this push:
     new 486821a6 Fix: Added the "overflow" property for TableOfContents (#240)
486821a6 is described below

commit 486821a6280852c872c7ab4dbe916c9dc801cbd6
Author: Pranav Sadagopan <[email protected]>
AuthorDate: Sat Jul 15 01:07:18 2023 +0530

    Fix: Added the "overflow" property for TableOfContents (#240)
    
    Adds overflow property to TOC so that it scrolls like page content and site 
map
---
 iceberg-theme/static/css/iceberg-theme.css | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/iceberg-theme/static/css/iceberg-theme.css 
b/iceberg-theme/static/css/iceberg-theme.css
index 2909538d..ec58c7fc 100644
--- a/iceberg-theme/static/css/iceberg-theme.css
+++ b/iceberg-theme/static/css/iceberg-theme.css
@@ -278,12 +278,14 @@ h4:hover a { visibility: visible}
 
 #toc {
     position: fixed;
+    overflow-y:auto;
     right: 0;
     top: 0;
     background-color:#FFF;
     top: 70px;
     font-size: 0.95rem;
     width: 260px;
+    height:100%;
     list-style-type: none;
     margin: 0 100px;
 }
@@ -788,4 +790,4 @@ div#full ul.sub-menu {
   .codetabs label {
     padding: 15px;
   }
-}
\ No newline at end of file
+}

Reply via email to