Opened 2 years ago
Last modified 2 years ago
#56512 new defect (bug)
Design glitch in calendar block control with align left and right(Frontend)
Reported by: | 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: |
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 (3)
#3
@
2 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.
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.