From cbecfa38f4db034ff750ecc31282577885ca2a44 Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Sun, 16 Jul 2023 16:27:59 +0300 Subject: [PATCH] update nav mobile --- content/home/index.md | 2 +- templates/_default/base.html | 2 +- templates/partials/header.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/home/index.md b/content/home/index.md index 2ef5e89..09fd7fc 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -9,7 +9,7 @@ weight: 1
-{% row(margin="withContainer" padding="both") %} +{% row(margin="withContainer" padding="bottom") %}
diff --git a/templates/_default/base.html b/templates/_default/base.html index b359405..8ecfdfb 100644 --- a/templates/_default/base.html +++ b/templates/_default/base.html @@ -5,7 +5,7 @@ {% include "partials/header.html" %} -
+
{% block content %}{% endblock %}
{% include "partials/footer.html" %} diff --git a/templates/partials/header.html b/templates/partials/header.html index 07336db..513852d 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -60,7 +60,7 @@ function showHamburger() { document.getElementById('header-container').className = "overflow-hidden"; - document.getElementById('hamburger').className = "fixed mt-16 z-20 top-0 inset-x-0 transition transform origin-top-right"; + document.getElementById('hamburger').className = "fixed mt-24 z-20 top-0 inset-x-0 transition transform origin-top-right"; document.getElementById('hamburger-btn').className = "hidden lg:hidden inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out my-2"; document.getElementById('close-hamburger-btn').className = "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out my-2"; }