Closed Bug 1856744 Opened 7 months ago Closed 1 month ago

Storybook background is cut off when there's vertical overflow in dark mode

Categories

(Toolkit :: UI Widgets, defect)

defect

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: kpatenio, Assigned: hjones)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

Attached image preview-image.png (obsolete) —

In dark mode, there are some issues with the Storybook container background if a container overflows vertically (the change from dark to light mode is where the cut off is). This has something to do with the way in-content styles are loaded to prevent them from conflicting with Storybook's own styles.

First observed in https://phabricator.services.mozilla.com/D189174#6287923.

Attached image preview-image2.png

Sorry, attaching a higher quality image.

Attachment #9356486 - Attachment is obsolete: true
Severity: -- → S4
Assignee: nobody → hjones
Status: NEW → ASSIGNED
Pushed by hjones@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0fbe242e1d97
ensure storybook background matches light/dark theme r=reusable-components-reviewers,tgiles
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: