You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2020/07/13 10:16:39 UTC

[camel-website] branch master updated: fix: toc sidebar width explicitly mentioned

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 311c299  fix: toc sidebar width explicitly mentioned
311c299 is described below

commit 311c299f254694d53b0f7c1343790276b20d8a7e
Author: Aemie <ae...@hotmail.co.uk>
AuthorDate: Wed Jul 8 15:59:11 2020 +0530

    fix: toc sidebar width explicitly mentioned
---
 antora-ui-camel/src/css/main.css | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/antora-ui-camel/src/css/main.css b/antora-ui-camel/src/css/main.css
index c9b1651..0bc467e 100644
--- a/antora-ui-camel/src/css/main.css
+++ b/antora-ui-camel/src/css/main.css
@@ -21,6 +21,17 @@
 
   aside.toc.sidebar {
     flex: 0 0 var(--toc-width);
+    min-width: 15rem;
+  }
+
+  .toc.sidebar .toc-menu ul {
+    -ms-overflow-style: none; /* Internet Explorer 10+ */
+    scrollbar-width: none; /* Firefox */
+  }
+
+  .toc.sidebar .toc-menu ul::-webkit-scrollbar {
+    width: 0;
+    background: transparent;  /* Chrome/Safari/Webkit */
   }
 }