Skip to content

Stretch Text doesn't work correctly with padding #73218

@t-hamano

Description

@t-hamano

Description

The text overflows on the right side. I would expect the text to fit inside the padding.

cc @jorgefilipecosta

Step-by-step reproduction instructions

  • Insert a Stretch Heading or Paragraph block.
  • Apply left or right padding

Screenshots, screen recording, code snippet

4b0ed794b49c5f40623d628dd22381a4.mp4

Environment info

No response

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Labels

[Block] Stretchy Text[Feature] Block APIAPI that allows to express the block paradigm.[Feature] Block VariationsBlock variations, including introducing new variations and variations as a feature[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions