Make WordPress Core

Opened 2 years ago

Last modified 13 months ago

#56157 new defect (bug)

Twenty Twenty: Table font size not reflected in frontend

Reported by: umesh84's profile umesh84 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.0
Component: Bundled Theme Keywords: has-patch needs-testing has-screenshots
Focuses: css Cc:

Description

Twenty Twenty Table font size not reflected in front.

Steps to replicate:
1: Activate the Twenty Twenty Themes

2: add Table block

3: Select Size

URL: https://www.loom.com/share/dc28c0c09ef247e1afe55a0561c1c911

Attachments (2)

#56157.patch (396 bytes) - added by umesh84 2 years ago.
added patch
56157.2.patch (1014 bytes) - added by sabernhardt 13 months ago.
inheriting font size only when user selects a size in the Table block

Download all attachments as: .zip

Change History (7)

@umesh84
2 years ago

added patch

This ticket was mentioned in PR #2953 on WordPress/wordpress-develop by pratiweb.


2 years ago
#1

  • Keywords has-patch added; needs-patch removed

Solved issue #56157

Change font size to inherit in Twenty Twenty Table style.

#2 @SergeyBiryukov
2 years ago

  • Summary changed from Themes: Twenty Twenty Table font size not reflected in frontend to Twenty Twenty: Table font size not reflected in frontend

@sabernhardt
13 months ago

inheriting font size only when user selects a size in the Table block

#3 @sabernhardt
13 months ago

#58489 was marked as a duplicate.

#4 @sabernhardt
13 months ago

  • Keywords needs-testing added

The font size needs to stay the same for any tables or Table blocks that do not use the custom block setting.

#5 @shailu25
13 months ago

  • Keywords has-screenshots added

Test Report For https://core.trac.wordpress.org/attachment/ticket/56157/56157.2.patch Patch.

Table blocks that do not use the custom block setting:
=============================================

Back-end : https://prnt.sc/SaHZm1N4S9R4
Front-end : https://prnt.sc/XaLdVqdWIJPc

Table Block when user selects a font size:
===================================

Backend: https://prnt.sc/tDHPsfHRZJ_d

Frontend :
=========
Before Patch Frontend: https://prnt.sc/mLm3vEz9V3Mp
After Patch Frontend : https://prnt.sc/IH4Vk28EVTTg

https://core.trac.wordpress.org/attachment/ticket/56157/56157.2.patch Patch is Working Fine.

Result After Patch:

  • Table font size is reflected in frontend same as backend (When User select a custom font size)
  • Table blocks font size stay same when do not use the custom block setting
Note: See TracTickets for help on using tickets.