Opened 3 years ago
Closed 3 weeks ago
#56512 closed defect (bug) (invalid)
Design glitch in calendar block control with align left and right(Frontend)
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | 6.0.2 |
| Component: | Themes | Keywords: | needs-testing 2nd-opinion close |
| Focuses: | css | Cc: |
Description
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: https://tinyurl.com/2le537ry
calendar : https://tinyurl.com/2lyxklye
WordPress Version: 6.0.2
Active Theme: TwentyTwentyTwo
Change History (4)
#3
@
3 years 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 {
content:"";
clear:both;
display: block;
}
Please add this css. Replace the .parent-class with the requirent parent wrapper class.
It worked for me after adding this css.
#4
@
3 weeks ago
- Keywords close added; needs-design removed
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
Thank you for reporting this, however based on what I am seeing this seems a very particular situation. I am not sure there is a bug to fix here. For now, I am going to mark this as invalid, but if we can work out how core is doing this wrong and unexpected we can of course reopen. Thank you everyone.
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.