You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2020/03/25 17:54:44 UTC

[incubator-datasketches-website] branch master updated: fix: remove menu opening, added proper css for highlight

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

leerho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 218d3a7  fix: remove menu opening, added proper css for highlight
     new 0e8427a  Merge pull request #83 from kirbdee/update_menu
218d3a7 is described below

commit 218d3a7d7905f56a26a98ce3a3bc05b189211546
Author: Kirby Domingo <ki...@oath.com>
AuthorDate: Wed Mar 25 10:47:22 2020 -0700

    fix: remove menu opening, added proper css for highlight
---
 _includes/tocScript.html | 3 +--
 css/header.css           | 4 ++++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/_includes/tocScript.html b/_includes/tocScript.html
index d89bf96..a9045b7 100644
--- a/_includes/tocScript.html
+++ b/_includes/tocScript.html
@@ -55,8 +55,7 @@
 
     var highlightAndOpenMenu = function () {
       var currentLineItem = findLineItem(document.location.pathname);
-      highlighLineItem(currentLineItem)
-      openAllFromList(findAllCollapseParents(currentLineItem));
+      highlighLineItem(currentLineItem);
     };
 
     $(highlightAndOpenMenu);
diff --git a/css/header.css b/css/header.css
index d6bb837..c0ee137 100644
--- a/css/header.css
+++ b/css/header.css
@@ -216,3 +216,7 @@ a:hover, a:focus {
   margin-right: 0px;
   margin-left: -12px;
 }
+
+.ds-nav a.highlight {
+  color: #fff !important;
+}
\ No newline at end of file


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