refactor: add styling to the menu list item

staging
Dinesh Salunke 2023-11-03 18:04:20 +05:30
parent 32fce4c534
commit 5501562c98
1 changed files with 1 additions and 1 deletions

View File

@ -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}"