Skip to content

Checkbox css relies on global typography styles. #243

Closed
@adixon-adobe

Description

@adixon-adobe

Expected Behavior

The checkbox css should be self-contained.

Actual Behavior

The text label is picking up line-height and font-style from the global typography styles.

Reproduce Scenario (including but not limited to)

Steps to Reproduce

If you inspect the checkbox css at https://opensource.adobe.com/spectrum-css/2.13.0/docs/#checkbox you'll see line-height & font-style styles getting picked up from the .spectrum, .spectrum-Body define.

Spectrum-CSS version

2.13.0

Screenshots (if applicable)

web-inspector

synced to jira: https://jira.corp.adobe.com/browse/SDS-7324

Metadata

Metadata

Assignees

Labels

sync to jiraThese will be pushed into adobe internal jira

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions