forked from duniayetu/www_duniayetu
update nav mobile
This commit is contained in:
parent
2ebd9bfd7f
commit
cbecfa38f4
@ -9,7 +9,7 @@ weight: 1
|
||||
<div class="container mx-auto">
|
||||
<!-- section 1 (header) -->
|
||||
|
||||
{% row(margin="withContainer" padding="both") %}
|
||||
{% row(margin="withContainer" padding="bottom") %}
|
||||
|
||||
<br>
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
<body>
|
||||
{% include "partials/header.html" %}
|
||||
<div id="content" class="p-4 pt-32 sm:p-12 md:p-16 lg:p-20 overflow-hidden">
|
||||
<div id="content" class="p-4 pt-8 lg:pt-32 sm:p-12 md:p-16 lg:p-20 overflow-hidden">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
{% include "partials/footer.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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user