[wp-trac] [WordPress Trac] #59996: Twenty Twenty: Calendar block does not apply font size from block option

WordPress Trac noreply at wordpress.org
Sat Jul 27 09:17:13 UTC 2024


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

Comment (by shailu25):

 @karmatosed font-size: inherit Will apply only when custom font size
 selected in the backend side Calendar Block (As per @sabernhardt
 Suggested)
 {{{
 .wp-block-calendar[class*="-font-size"] table,
 .wp-block-calendar[style*="font-size"] table {
         font-size:inherit;
 }
 }}}


 else It will show default font size.

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


More information about the wp-trac mailing list