Skip to content

(contributor-details.jsx) fontweight typo, reversed breakpoints on tablets #556

@henrylee746

Description

@henrylee746

Reproduction steps

fontweight typo

  1. Navigate to and click on any contributor's card
  2. Hover over the 'Contributor Spotlight' text and click inspect to open devtools
  3. Notice the <h5> class shows a custom prop (fontweight = 500) instead of no prop (which would mean MUI identified it as a prop part of the Typography component)
Image

The real font-weight applied is 400 instead:

Image

Proposed fix: Just a typo. Needs to be camelCase (fontWeight rather than fontweight)

Expected Results

  1. fontWeight prop should be applied so font-weight: 500 on h5 title

Actual Results

fontWeight is 'fontweight', causing a default font-weight of 400px to be applied instead on the text

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions