thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.78k stars 2.67k forks source link

Menu Icon Issue & Alignment #5656

Closed AliRaza-commits closed 1 year ago

AliRaza-commits commented 2 years ago

Laravel version

8.75

PHP version

7.4.8

Voyager version

1.5

Database

MySql 8.0

Description

Hi, I tried to use menu after adding it to Menu Builder. The code i used in my blade was:

{!! menu('customer') !!}

However, my menu was without icon as well as improper positioning.

Steps to reproduce

To fix this issue, I've updated file in resources Menu/default.

Expected behavior

Menu should've menu item icons with proper alignment.

Screenshots

BugScreenShot

Additional context

No response

emptynick commented 1 year ago

The menu helper is not made to be used inside of Voyager but inside your frontend. Showing and hiding items in Voyager should be done based on permissions.

github-actions[bot] commented 1 year ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.