Fix navbar

This commit is contained in:
samaradel
2022-06-21 11:41:22 +02:00
parent 05a3dfb387
commit 345234bf86
2 changed files with 5 additions and 2 deletions

View File

@@ -74,6 +74,8 @@ img[src*="#absolute"] {
.logo_size{ .logo_size{
width:200px width:200px
} }
@layer components { @layer components {
h1 { h1 {
@apply text-3xl lg:text-7xl font-normal; @apply text-3xl lg:text-7xl font-normal;

View File

@@ -2,12 +2,12 @@
{% set header_items = section.content | safe | split(pat="<li>") %} {% set header_items = section.content | safe | split(pat="<li>") %}
<header id="header-container"> <header id="header-container">
<div class="z-10 bg-white fixed w-screen top-0"> <div class="z-10 bg-white fixed w-full top-0">
<div class="relative z-50 shadow"> <div class="relative z-50 shadow">
<div class="mx-auto flex z-50 shadow justify-between items-center px-6 sm:px-8 md:px-12 py-2 lg:px-20 lg:justify-start lg:space-x-20"> <div class="mx-auto flex z-50 shadow justify-between items-center px-6 sm:px-8 md:px-12 py-2 lg:px-20 lg:justify-start lg:space-x-20">
<div> <div>
<a href="/" class="flex"> <a href="/" class="flex">
<img class="w-20 h-auto sm:w-15" src="{{section.extra.logoPath}}" alt="Ourworld Logo" /> <img class="w-20 h-auto sm:w-15" style="max-width: none;" src="{{section.extra.logoPath}}" alt="Ourworld Logo" />
</a> </a>
</div> </div>
<div class="-mr-2 -my-2 lg:hidden"> <div class="-mr-2 -my-2 lg:hidden">
@@ -106,6 +106,7 @@
<img <img
src="{{ section.extra.button_Path }}" src="{{ section.extra.button_Path }}"
class="mr-5" class="mr-5"
style="max-width: none;"
alt="" alt=""
/> />
</a> </a>