Make WordPress Core

Opened 22 months ago

Last modified 22 months ago

#56512 new defect (bug)

Design glitch in calendar block control with align left and right(Frontend)

Reported by: bisnusnr's profile bisnusnr Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.0.2
Component: Themes Keywords: needs-testing needs-design 2nd-opinion
Focuses: css Cc:


I've noticed that when I add the calendar block (without any other blocks) with the align left or right control in backend,
the calendar displays inline with the footer. But instead of a calendar, I added a latest post block with an align left control,
and it looks fine.

Would you please verify.
latest post block:
calendar :

WordPress Version: 6.0.2
Active Theme: TwentyTwentyTwo

Change History (3)

#1 @haritpanchal
22 months ago

  • Type changed from enhancement to defect (bug)

#2 @haritpanchal
22 months ago

  • Keywords 2nd-opinion added

I don't think it is any glitch or bug. Aligning left or right to any block will be counted as sidebar in the page/post.

#3 @rohit900
22 months ago

This is a glitch. It is because of the invalid css rule.
If the parent div is not float but the child div is float, then we must clear the parent div.

.parent-class::after {
display: block;

Please add this css. Replace the .parent-class with the requirent parent wrapper class.

It worked for me after adding this css.

Note: See TracTickets for help on using tickets.