uchicago-library / library_website

The University of Chicago Library Website
5 stars 5 forks source link

LocationPage Boolean Display in Wagtail Admin #713

Closed bbusenius closed 9 months ago

bbusenius commented 9 months ago

Expected behavior

It should be easy to select booleans on LocationPages in the Wagtail Admin.

Actual behavior

After a recent upgrade, boolean fields quit respecting the columns attribute in the Wagtail admin. They now scroll off the page and can't be seen: image

Steps to reproduce

Go to a LoationPage in the Wagtail admin. You will see there are more boolean fields than what display on the page if you zoom out with your browser.

Related code

In the LocationPage model (public/models.py) the following setting seems to no longer be supported. It's possible the classname just needs to change.

ROW_CLASS = 'col4'