forked from brooksbingham/theme-elegance
refactor: update main menu mobile view
parent
1f194bb00e
commit
354bcc9603
|
@ -13,6 +13,7 @@
|
||||||
{$node.label}
|
{$node.label}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<hr class=" last:hidden w-full md:rotate-90"/>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
{/if}
|
{/if}
|
||||||
|
@ -26,6 +27,6 @@
|
||||||
<path d="M4 18l16 0"></path>
|
<path d="M4 18l16 0"></path>
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
<nav class="mobile-main-menu absolute z-10 right-4 top-full w-full max-w-[180px] md:max-w-[350px] border border-gray-100 justify-center rounded-lg bg-white py-5 px-6 drop-shadow-lg lg:static lg:border-none lg:flex lg:w-full lg:max-w-full lg:bg-transparent lg:py-0 lg:shadow-none hidden" id="_desktop_top_menu">
|
<nav class="mobile-main-menu absolute z-10 right-4 top-full w-full max-w-[160px] md:max-w-[350px] border border-gray-100 justify-center rounded-lg bg-white p-4 md:p-2 drop-shadow-lg lg:static lg:border-none lg:flex lg:w-full lg:max-w-full lg:bg-transparent lg:py-0 lg:shadow-none hidden" id="_desktop_top_menu">
|
||||||
{menu nodes=$menu.children}
|
{menu nodes=$menu.children}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Reference in New Issue