Skip to content

Ability to adjust padding/margins of menu items and nav-bar in order to reduce width of nav element for VERY small screens #1065

Discussion options

You must be logged in to vote

Not sure if this is what you're going for?

You could include some breakpoints as needed.

For the standard dropdowns I just removed the spacing and padding from the navbar.item:

px-0 space-x-0

<flux:dropdown position="top" align="center">
    <flux:navbar.item class="px-0 space-x-0" icon-trailing="chevron-down">
        <flux:icon.drill class="text-cyan-600 dark:text-cyan-400" />
    </flux:navbar.item>
    <flux:navmenu>
        <flux:navmenu.item icon="queue-list" href="#" label="Your Class Lists">
            Your Class Lists
        </flux:menu.item>
    </flux:navmenu>
</flux:dropdown>

For the profile dropdown, the div containing the image and the chevron both use size-8 so I've over…

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
2 replies
@JohnMSykes
Comment options

@joshhanley
Comment options

Comment options

You must be logged in to vote
1 reply
@JohnMSykes
Comment options

Comment options

You must be logged in to vote
6 replies
@JohnMSykes
Comment options

@joshhanley
Comment options

@JohnMSykes
Comment options

@joshhanley
Comment options

@JohnMSykes
Comment options

Answer selected by JohnMSykes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants