-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add NavigationBar column width modifier #50
Conversation
Add NavigationBar column width modifier
…-not-applied-to-logo Fix navigation bar column width
Hello! Thank you for this. It would be helpful if you could perhaps explain what this does from a practical perspective – what is the problem right now, and what does this solution allow? I can't tell from the screenshot you've attached. I appreciate it's probably obvious to you, but it's less obvious for me 😅 |
Sure! I would like to achieve a full width navigation bar with the title and navigation items being inset to the sites content width. The example image is a For the example I used the modifier like this: It is a little off topic but I couldn't get a navigation bar with a bottom border to work either by trying things like |
Ah! I see now. Thank you! I tried it on the Ignite Samples site and it's definitely an improvement, although Bootstrap is still adding a little extra left and right padding that gives me an eye twitch 😅 As a |
…igation-bar-modifier Removes unnecessary navigation bar width modifier in favor of the default implimentation of width().
Right! The default implementation for |
Perfect – thank you! |
This Pull Request adds a modifier to set the
columnWidth
of the NavigationBar. The property was already present but not used. It only affects the horizontal placement of the navigation bar items.