bripu
bripu

Reputation: 13

Wagtail admin display issues

I'm working with wagtail and I'm using microsoft edge browser for editing the content of my website. When I'm inside the edit mode of one page, the left edge of the page is cut off (see screenshot below). I also tried other browsers with the same result. Does anyone have a solution? Or is it a bug?

Thank you

wagtail edit screenshot

Upvotes: 0

Views: 261

Answers (1)

Zemogle
Zemogle

Reputation: 604

The problem had an easy solution on our site. I had added a class definition to the FieldPanel. This was overriding the stream-field class being added to the region in the Wagtail admin.

I replaced all instances which looked like:

content_panels = Page.content_panels + [
....
FieldPanel('content', classname="full")
]

with

content_panels = Page.content_panels + [
...
FieldPanel('content')
]

This in the model definition in models.py.

Upvotes: 0

Related Questions