[wp-trac] [WordPress Trac] #56512: Design glitch in calendar block control with align left and right(Frontend)

WordPress Trac noreply at wordpress.org
Mon Sep 5 12:42:49 UTC 2022


#56512: Design glitch in calendar block control with align left and right(Frontend)
-------------------------------------------------+-------------------------
 Reporter:  bisnusnr                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Themes                               |     Version:  6.0.2
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing needs-design 2nd-      |     Focuses:  css
  opinion                                        |
-------------------------------------------------+-------------------------

Comment (by rohit900):

 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56512#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list