Skip to content

report: line breaks in the middle of the 'sec' unit in opportunities #14326

@brendankenny

Description

@brendankenny

opportunity display text started breaking mid-unit at some point

The opportunity section of a lighthouse report, showing durations with a line break in between the s and the e in the unit 'sec'

This was sort of due to #13830. There's no problem in the 9.x branch, but that's because the times used to be e.g. 1.13 s instead of the current 1.13 sec, and the longer unit is getting wrapped.

The opportunity section of an older lighthouse report, showing durations with just the unit 's'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions