Skip to content
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

Default layout of jsonform in Django Admin #135

Closed
gersmann opened this issue Jan 6, 2024 · 4 comments
Closed

Default layout of jsonform in Django Admin #135

gersmann opened this issue Jan 6, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@gersmann
Copy link

gersmann commented Jan 6, 2024

Thank you for the great library. One question, when I've set up django-jsonform I am gettting a pretty narrow form with also narrow containers for field labels. I was wondering if this is how it is supposed ot be rendered or if I made a mistake in the setup.

This is how the admin form looks for me:
image

@bhch
Copy link
Owner

bhch commented Jan 7, 2024

Could you tell me which Django version are you using so I can try to reproduce this?

@gersmann
Copy link
Author

gersmann commented Jan 7, 2024

This is on Django 4.2.9, a blank sample project I created.

@bhch bhch added the bug Something isn't working label Jan 9, 2024
@bhch
Copy link
Owner

bhch commented Jan 9, 2024

I'm able to reproduce it.

The form is wider in Django v3.x but it appears they have made some changes in admin's CSS in v4.x which is making the form narrow.

I'll try to release a fix soon.

Thank you for reporting this issue.

@bhch bhch closed this as completed in 3cc8b54 Jan 10, 2024
@bhch
Copy link
Owner

bhch commented Jan 12, 2024

This has been fixed in v2.21.3. Please update and test it out.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants