Skip to content

Unable to Update FontSize in CodePane #874

@forrest-akin

Description

@forrest-akin

react : 6.13.1
spectacle : 6.0.1

CodePane doesn't respond to changes in fontSize if themeContext.fontSizes.monospace exists. The expected strategy for determining fontSize is the first of props.fontSize, themeContext.fontSizes.monospace, 15 (default value).

Please see this CodeSandbox I've prepared demonstrating this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✓ VerifiedOrg member or multiple community members can reproduce a given bug🐛 BugIssues or PRs that report or fix a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions