[wp-trac] [WordPress Trac] #59996: Twenty Twenty: Calendar block does not apply font size from block option (was: Twenty Twenty theme calendar block is having issue with font size.)

WordPress Trac noreply at wordpress.org
Wed Dec 13 18:08:57 UTC 2023


#59996: Twenty Twenty: Calendar block does not apply font size from block option
-------------------------------------------------+-------------------------
 Reporter:  nidhidhandhukiya                     |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Bundled Theme                        |     Version:  6.4
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-testing-info has-      |     Focuses:
  screenshots changes-requested                  |
-------------------------------------------------+-------------------------
Changes (by sabernhardt):

 * keywords:  has-patch has-testing-info has-screenshots needs-testing =>
     has-patch has-testing-info has-screenshots changes-requested


Comment:

 Related: #56157

 Since its initial version, Twenty Twenty has specified
 [https://github.com/WordPress/twentytwenty/commit/2d8fc91f0be90928b945576092556e057372dbde
 a smaller size for tables], either 1.6rem for small screens or 1.8rem for
 screens wider than 700 pixels.

 If the Calendar block is ever inserted inside a post, `inherit` would
 increase the font size for any Calendar block that does not specify its
 own size. The `.entry-content` class sets the size at 1.8rem or 2.1rem for
 larger screens.

 In the widget area, where the Calendar block usually belongs, the proposed
 change would set the default font size to 1.8rem for all screens.

 To avoid unexpected changes, the patch should only apply when the user
 selects a font size for the block.

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


More information about the wp-trac mailing list