Make WordPress Core

Opened 11 months ago

Closed 2 months ago

#61083 closed defect (bug) (worksforme)

Latest Posts block width options not working properly in editor side.

Reported by: viralsampat's profile viralsampat Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.5
Component: Editor Keywords:
Focuses: ui, css Cc:

Description

Hello,

I have reviewed the "Latest Post block" and found that its align "Full width" is not appear properly in the editor side.

I think that it should be same on both editor & front-end sides.

Here, I have provided issue link for reference.

Issue: https://share.cleanshot.com/D72CjLHDLzpChvcQXxwR

Also, I have attached its screenshots at below.

Environment info:


  • WordPress version: WordPress 6.5.2 running,
  • Twenty Twenty-Four Version: 1.1
  • Browser: Google Chrome, Version 124.0.6367.62 (Official Build) (arm64)
  • Device: MacBook Air M1
  • OS: macOS 14.4.1 (23E224)
  • Gutenberg plugin: Version 18.1.2

Thanks,

Attachments (4)

CleanShot 2024-04-26 at 14.16.20@2x.png (138.3 KB) - added by viralsampat 11 months ago.
Back-end
CleanShot 2024-04-26 at 14.16.49@2x.png (177.0 KB) - added by viralsampat 11 months ago.
Front-end
latest-posts-6-5-div-wrapper.png (86.8 KB) - added by sabernhardt 2 months ago.
the block was up to 620 pixels wide in the editor with WordPress 6.5, inside a div
latest-posts-6-6-ul.png (66.3 KB) - added by sabernhardt 2 months ago.
Latest Posts block does not have div starting with WordPress 6.6, and the full width block extends to the edge of the editor canvas

Download all attachments as: .zip

Change History (6)

#1 @nikunj8866
11 months ago

@viralsampat I have reviewed the Latest Block Widget across different themes and WordPress versions. It consistently displays the same size for all alignments in the admin. Therefore, it's not a bug related to the Twenty Twenty-Four theme.

@sabernhardt
2 months ago

the block was up to 620 pixels wide in the editor with WordPress 6.5, inside a div

@sabernhardt
2 months ago

Latest Posts block does not have div starting with WordPress 6.6, and the full width block extends to the edge of the editor canvas

#2 @sabernhardt
2 months ago

  • Component changed from Bundled Theme to Editor
  • Keywords dev-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
  • Summary changed from Twenty Twenty-Four: Latest post block align is not working properly in editor side. to Latest Posts block width options not working properly in editor side.

This apparently was fixed in WordPress 6.6, likely by removing the div in GB60728.

Note: See TracTickets for help on using tickets.