Skip to content

ebay-section-title: Title container width constrained unnecessarily #562

@janenath

Description

@janenath

I verified there's no existing issue for this bug.

  • There are no existing issues

Current behavior

.section-title__title-container is constrained to 75% max-width, which causes unnecessary text wrapping especially for narrower viewports + use cases without optional CTA link.

Image

Expected behavior

Expected behavior: component should follow Playbook specs for width and wrapping:

Image Image

Package and version

16.5.2

Device/OS/Browser info

No response

Steps to reproduce

1. Render ebay-section-title with longer width title and/or subtitle text
2. Resize to narrower viewport
3. Observe text wrapping behavior
...

Relevant code block

https://github.com/eBay/evo-web/blob/main/packages/skin/dist/section-title/section-title.css#L7

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions