Skip to content

Commit

Permalink
#55 Remove flex-col on menu parents
Browse files Browse the repository at this point in the history
  • Loading branch information
waseemsadiq committed Jun 2, 2022
1 parent 4d108ed commit 41e1da5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<? if ($child->getChildren()): ?>
<li x-data="{ isOpen: <?= $menuOpen = $menuOpen ?? 'false'; ?> }" class="p-2">
<div class="flex flex-row sm:flex-col sm:items-center lg:flex-row justify-between items-center">
<div class="flex flex-row justify-between items-center">
<a class="flex-1 focus:outline-none focus:shadow-outline block transition-colors duration-500 ease-in-out hover:text-gray-100<?= strpos(page()->path, $child->path) === 0 ? ' text-gray-100 is-active' : '' ?>" href="<?= route($child) ?>"><?= $child->name ?></a>
<button
@click="isOpen = !isOpen"
Expand Down

0 comments on commit 41e1da5

Please sign in to comment.