-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Remove navbar from container #2337
base: master
Are you sure you want to change the base?
Conversation
Actually you can do this by setting FLASK_ADMIN_FLUID_LAYOUT = True for "container-fluid" |
Yes I already use |
Is it possible to merge this little PR ? |
The repository has been inactive for over 8 months now. |
Yes, saw that ! |
Sadly nope, I'm working on my own fork. |
Hi 👋 I'm happy with the change this makes in the I would be more OK with a solution that extends the navbar visually to the full width, but keeps the links/etc centered within the standard restricted width. So basically - just making the navbar background colour the full width, and not changing the link positioning. I'm open to some discussion on this though, especially anything around "best practice"/accessibility. |
Hi ! It appears to me to be a common pattern (full width navbar even with redictricted content width). |
Check out the examples from Bootstrap4. There are different layout examples for the navbar; two are in the container div. I don't see a huge problem with the current application. WTYT about this @samuelhwilliams, @TheoLechemia? |
I like the proposed change when in Other than the margin/padding in |
It really feels like a personal preference that can be overridden easily. A "How to" documentation on this topic could be beneficial. |
Hello,
Currently the navbar is inside the bootstrap "container" class. Without "container-fluid" the navbar only take the half of the screen and with "container-fluid" there is padding on his side : see screenshots
Without fluid :
with fluid :
My proposition remove the navbar from the container in order to take always the full width of the screen :
Done for bootstrap 2, 3 and 4
BTW: thanks for the great job you do on this package ;)