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 8fbf3fb  fix the nav-dropdown for small screens
8fbf3fb is described below

commit 8fbf3fbe876869c1cc1ff890f1e272013894696c
Author: aashnajena <[email protected]>
AuthorDate: Mon Apr 6 18:02:54 2020 +0530

    fix the nav-dropdown for small screens
---
 antora-ui-camel/src/css/header.css | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/antora-ui-camel/src/css/header.css 
b/antora-ui-camel/src/css/header.css
index 74e41df..3361a4d 100644
--- a/antora-ui-camel/src/css/header.css
+++ b/antora-ui-camel/src/css/header.css
@@ -180,6 +180,8 @@ body {
 
   .has-dropdown.is-active > .navbar-dropdown {
     display: block;
+    position: relative;
+    border: none;
   }
 
   .has-dropdown.is-active > .navbar-link::after {
@@ -237,10 +239,6 @@ body {
     padding: 1rem 2rem;
   }
 
-  .navbar-dropdown {
-    display: none;
-  }
-
   .has-dropdown:not(.is-active) > .navbar-dropdown {
     display: none;
   }
@@ -251,6 +249,8 @@ body {
 
   .has-dropdown.is-active > .navbar-dropdown {
     display: block;
+    position: relative;
+    border: none;
   }
 
   .has-dropdown.is-active > .navbar-link::after {

Reply via email to