diff --git a/src/Presenters/Admin/Tailwind.php b/src/Presenters/Admin/Tailwind.php index 24ccfad..bde6843 100644 --- a/src/Presenters/Admin/Tailwind.php +++ b/src/Presenters/Admin/Tailwind.php @@ -34,13 +34,11 @@ public function getCloseTagWrapper() */ public function getMenuWithoutDropdownWrapper($item) { - return '
  • - getAttributes() . '> -
    + return '
  • + getAttributes() . '> ' . $this->getIcon($item) . ' - ' . $item->title . ' - +
  • ' . PHP_EOL; @@ -49,9 +47,9 @@ public function getMenuWithoutDropdownWrapper($item) /** * {@inheritdoc }. */ - public function getActiveState($item, $state = '' ) + public function getActiveState($item, $state = 'active-menu' ) { - return $item->isActive() ? $state : '-outline'; + return $item->isActive() ? $state : ''; } /** @@ -105,12 +103,12 @@ public function getMenuWithDropDownWrapper($item) return '
    getActiveStateOnChild($item) .'> - + ' . $this->getIcon($item) . ' ' . $item->title . ' ' . $this->getChevron($item) . ' -