Skip to content

Allow the user to specify that navbar items should be aligned right#140

Open
Munksgaard wants to merge 1 commit into
rundis:masterfrom
Munksgaard:itemsRight
Open

Allow the user to specify that navbar items should be aligned right#140
Munksgaard wants to merge 1 commit into
rundis:masterfrom
Munksgaard:itemsRight

Conversation

@Munksgaard

Copy link
Copy Markdown
Contributor

This is a potential fix for #48. I don't know if that's exactly what everyone is asking for, but it's certainly what I'd like. However, I have no idea if it somehow breaks the way that customItems work or something.

The idea is to add withItemsRight, which allows the user to specify that navbar items should be right aligned instead of left aligned.

@Munksgaard

Copy link
Copy Markdown
Contributor Author

Another option that would provide a bit more flexibility would be to amend the Bootstrap.Navbar.items function to also take a list of attributes. That way you could pass in Bootstrap.Utilities.Spacing.mrAuto or Bootstrap.Utilities.Spacing.mlAuto at your leisure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant