WordPress.org

Make WordPress Core

Opened 8 months ago

Last modified 8 months ago

#52545 new defect (bug)

Twenty Ten: Image block stretched

Reported by: melchoyce Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-patch
Focuses: css Cc:

Description

In Twenty Ten, the image block stretches because it's not constraining the image height, just the width. See attached screenshot.

Attachments (3)

Screen Shot 2021-02-16 at 3.01.14 PM.png (1.1 MB) - added by melchoyce 8 months ago.
52545.diff (551 bytes) - added by melchoyce 8 months ago.
Add height:auto to image block, and remove the left/right margin being inherited by browser defaults so image bocks can be full-width.
52545.2.diff (600 bytes) - added by melchoyce 8 months ago.
Remove all default browser figure styles

Download all attachments as: .zip

Change History (4)

@melchoyce
8 months ago

Add height:auto to image block, and remove the left/right margin being inherited by browser defaults so image bocks can be full-width.

#1 @melchoyce
8 months ago

  • Keywords has-patch added

@melchoyce
8 months ago

Remove all default browser figure styles

Note: See TracTickets for help on using tickets.