[wp-trac] [WordPress Trac] #58362: Twenty Ten: Table block having issue with font size on editor side

WordPress Trac noreply at wordpress.org
Fri Mar 29 06:33:21 UTC 2024


#58362: Twenty Ten: Table block having issue with font size on editor side
-------------------------------------+------------------------------
 Reporter:  iamfarhan09              |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Bundled Theme            |     Version:  6.2
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  css
-------------------------------------+------------------------------

Comment (by sabernhardt):

 [attachment:"58362.diff"] follows the pattern of [57897], applying it to
 both the Table and Calendar blocks.

 The `line-height` values probably should have been relative in the main
 stylesheet for //any// elements to work with larger font sizes, but I only
 added 1.5 for these blocks to match the equivalent pixel dimensions:
 {{{
 #content,
 #content input,
 #content textarea {
   font-size: 16px;
   line-height: 24px;
 }
 #content tr th,
 #content thead th {
   font-size: 12px;
   line-height: 18px;
 }
 }}}

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


More information about the wp-trac mailing list