Confirm article image does not overflow page / cause scrollbar at any screen width, especially 767px or less.
For good measure, if news editor is not working ons tory, test when image has a caption.
To add a caption, edit Image plugin under its "Advanced settings", and add text in "Caption" field.)
UI
After (Narrow Screen) ✅
Left
Center
Right
Before (Narrow Screen) ❌
Left
Center
Right
Unchanged (Wide Screen)
Left
Center
Right
Notes
To overwrite broken code in Core-CMS django.cms.blog.app.page.css.
Core-CMS says max-width: unset, but should say max-width: 100%.
max-width: unset removes max width, thus image can overflow page
max-width: 100% limits width to parent, thus image not overflow page
Overview
Do not let blog images on narrow screen exceed width of page.
Related
Changes
Testing
UI
After (Narrow Screen) ✅
Before (Narrow Screen) ❌
Unchanged (Wide Screen)
Notes
To overwrite broken code in Core-CMS
django.cms.blog.app.page.css
.Core-CMS says
max-width: unset
, but should saymax-width: 100%
.max-width: unset
removes max width, thus image can overflow pagemax-width: 100%
limits width to parent, thus image not overflow page