-
Notifications
You must be signed in to change notification settings - Fork 393
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
fixed position of submit_line in change_form #212
Comments
Thanks for the suggestion. I'll give it a try, hopefully next week. |
I think having form-actions behave like the navbar where it's hamburger menu on small screens and normal menu on biggers could be interesting. |
@olivierdalang i never test it under 1024px wide screens, i think that's really too painful to use the django admin interface in such a small screen. |
Heh i thought that was the idea of responsive layouts!! By the way it displays very well besides of this particular problem... |
I agree the overlap on small screens needs to be fixed, but I definitely do like the fixed position of the submit_line. Very handy on long change forms. I can imagine two workarounds:
|
Strangely, this was already implemented in v2.5.5 Though by looking at the repo code history, I can't figure out which commit removed it, if I install v2.5.5 manually I get the nice floating submit buttons.
...overrides.css look like this:
...and change_form.html looks like this:
I like the floating submit buttons, since my form is very long. But ever since v2.5.6, the reference to |
@securedirective override.css hasn't been touched since july which is before 2.5.5 was released. Can you dig a bit more to find out the commit that removed that? |
@bformet pull requests are indeed very welcome :) |
@xrmx Okay, I've searched through your repo on github and cannot find any reference to the
Any way we could get these same 2 changes back for version 2.5.7 ? It was nice, having floating submit buttons. |
Damn, that means i was so dumb to package some local modified files instead of the tagged stuff. Thanks @securedirective for investigating |
Sometimes forms are long, everytime when i must save, even after small correct at the top of form i need scroll to bottom of the page..
We can add class .fixed-bottom-right to form-actions with css:
Another solution is add extra block in navbar with icon-only form after logo for form-action (common used in Android application)
The text was updated successfully, but these errors were encountered: