Description
When a classic theme is active, the body element is expected to have 8px padding.
In WP 6.9:
However, this padding is unintentionally overridden by zero in WP 7.0 and Gutenberg:
This causes the text to stick to the edge of the canvas, which can make it look slightly unappealing and affect text editing.
I've identified that this issue was caused by #73971. Specifically, the zero-padding here became apparent because global styles were internally enabled in the classic theme.
Step-by-step reproduction instructions
- Activate Twenty Twenty
- Open the post editor
- Narrow your browser width or switch to tablet view
Description
When a classic theme is active, the
bodyelement is expected to have 8px padding.In WP 6.9:
However, this padding is unintentionally overridden by zero in WP 7.0 and Gutenberg:
This causes the text to stick to the edge of the canvas, which can make it look slightly unappealing and affect text editing.
I've identified that this issue was caused by #73971. Specifically, the zero-padding here became apparent because global styles were internally enabled in the classic theme.
Step-by-step reproduction instructions