You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the comment-date is rendered with BOTH the font size set to 4px (via style attribute) and --wp--preset--font-size-small. But since the small font size is !important it always wins. The block has the has-small-font-size class which it shouldn't have.
Description
The comment-date block is ALWAYS 'small' size and cannot be customized either via Global Styles or block attributes.
Step-by-step reproduction instructions
Tested with Empty Theme.
Add the following block to a page:
Render a page that has at least one comment.
Note that the comment-date is rendered with BOTH the font size set to 4px (via style attribute) and
--wp--preset--font-size-small
. But since the small font size is!important
it always wins. The block has thehas-small-font-size
class which it shouldn't have.This was also tested with the block like this:
as well as theme.json settings like this:
The result was the same.
Screenshots, screen recording, code snippet
Environment info
WordPress 6.0
Gutenberg /trunk
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: