forked from brooksbingham/theme-elegance
refactor: add styling to the menu list item
parent
32fce4c534
commit
5501562c98
|
@ -3,7 +3,7 @@
|
|||
{if $nodes|count}
|
||||
<ul class="flex flex-1 items-center justify-center top-menu" {if $depth == 0}id="top-menu"{/if} data-depth="{$depth}">
|
||||
{foreach from=$nodes item=node}
|
||||
<li class="{$node.type}{if $node.current} current {/if} px-2 py-2" id="{$node.page_identifier}">
|
||||
<li class="{$node.type}{if $node.current} current {/if} px-2 py-2 font-medium hover:text-gray-950" id="{$node.page_identifier}">
|
||||
{assign var=_counter value=$_counter+1}
|
||||
<a
|
||||
class="{if $depth >= 0}dropdown-item{/if}{if $depth === 1} dropdown-submenu{/if}"
|
||||
|
|
Loading…
Reference in New Issue