You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading my project to wagtail 5.1, all my uses of the wagtail-generic-chooser have started to look like the above. I'm not noticing this anywhere else so I'm not sure if it's coming from the wagtail package or the wagtail-generic-chooser package. However I'm not seeing any CSS in this package so I'm thinking maybe it's coming from a change in wagtail?
I didn't encounter anything like this when updating this package for Wagtail 5.1 last week. Often, CSS bugs on upgrade can be a result of outdated CSS being cached from the previous version - have you tried force-refreshing the page? And if this is on a production site (running under a real webserver), did you run ./manage.py collectstatic after upgrading?
Hi @gasman, cheers for the speedy response! 😃 I've done a force-refresh and on my local just ran ./manage.py collectstatic but am still getting this. Same on the prod site, we run collectstatic in our build step, force refresh had no luck either 😢
After upgrading my project to wagtail 5.1, all my uses of the wagtail-generic-chooser have started to look like the above. I'm not noticing this anywhere else so I'm not sure if it's coming from the
wagtail
package or thewagtail-generic-chooser
package. However I'm not seeing any CSS in this package so I'm thinking maybe it's coming from a change inwagtail
?If we can add a
![image](https://private-user-images.githubusercontent.com/62654785/258748727-176fd8d2-5222-4ee9-baa9-b6adb41a495c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMDUxODIsIm5iZiI6MTczOTAwNDg4MiwicGF0aCI6Ii82MjY1NDc4NS8yNTg3NDg3MjctMTc2ZmQ4ZDItNTIyMi00ZWU5LWJhYTktYjZhZGI0MWE0OTVjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDA4NTQ0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWE5YWYyZGRmYWY1MzI4NWVkNTY5NjUwMWQxZjQ4OTEyYzczOTRmYmUxZDk1MjFmMTRjNjhjNmUzMzk3MWVhMDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.X7a-pTJB3qbhCGq_hht2TjSzXgBdo50Sj3OTDebQB80)
width: 95%;
somewhere that would apply it to https://github.com/wagtail/wagtail-generic-chooser/blob/main/generic_chooser/templates/generic_chooser/widgets/chooser.html#L15-L17, this seems to fix the issue:The text was updated successfully, but these errors were encountered: