Skip to content

Weird max-width for home page code example headings. #1699

Description

@tesseralis

Is there a reason for max-width: 11em in the home page code headings? (this line: https://github.com/reactjs/reactjs.org/blob/master/src/components/CodeExample/CodeExample.js#L44)

"A Component Using External Plugins" is cut off into two lines when it doesn't need to be:

screen shot 2019-02-16 at 7 06 33 pm

Especially when translated into more verbose languages, this ends up looking weird. See examples in Spanish

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions