You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wayang.apache.org by be...@apache.org on 2021/03/02 16:23:42 UTC

[incubator-wayang-website] 01/03: Correction on position menu in collapse version

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

bertty pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git

commit 4a68005476d4e1a7ec4fbc7465ef5bb0c411a741
Author: Bertty Contreras-Rojas <be...@scalytics.io>
AuthorDate: Tue Mar 2 13:09:39 2021 -0300

    Correction on position menu in collapse version
---
 _includes/header.html | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/_includes/header.html b/_includes/header.html
index 5a0d313..fa015e3 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -30,19 +30,21 @@
 
 <nav class="navbar navbar-expand-lg navbar-light bg-light sticky-top shadow-lg">
     <div class="container d-flex justify-content-between w-100">
-            <div class="mr-auto p-2">
-                <a class="navbar-brand" href="{% link index.md %}">
-                    <img style="max-height: 75px" src="{{ "assets/img/logo/logo_400x160.png" | absolute_url }}"/>
-                </a>
-                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
-                    <span class="navbar-toggler-icon"></span>
-                </button>
+            <div class="mr-auto p-2 w-100">
+                <div class="d-flex">
+                    <a class="navbar-brand mr-auto" href="{% link index.md %}">
+                        <img style="max-height: 75px" src="{{ "assets/img/logo/logo_400x160.png" | absolute_url }}"/>
+                    </a>
+                    <button class="navbar-toggler ml-auto align-self-center" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
+                        <span class="navbar-toggler-icon"></span>
+                    </button>
+                </div>
+
             </div>
 
-            <div class="p-2">
-                <div class="collapse navbar-collapse" id="navbarSupportedContent">
+            <div>
+                <div class="p-2 collapse navbar-collapse" id="navbarSupportedContent">
                     <div class="navbar-nav">
-
                         {% for entry in site.data.navigation %}
                         {% if entry.url == current_page %}
                         {% assign current = 'active' %}
@@ -72,7 +74,6 @@
                         </li>
                         {% endif %}
                         {% endfor %}
-                        </ul>
                     </div>
                 </div>
             </div>