HomePhabricator
Diffusion Comm 343181cad8b6

[web] Add spoiler style to MarkdownSpoiler

Description

[web] Add spoiler style to MarkdownSpoiler

Summary:
We add a unique spoiler style (the same hex code as approved in D5373) to the MarkdownSpoiler component.

https://linear.app/comm/issue/ENG-2191/add-spoiler-style-to-markdowncss

Depends on D5593

Test Plan:
The spoiler text enclosed in || ... || characters are correctly rendered with the new spoiler style visually and in the inspect element console.

Spoiler Style.png (1×1 px, 381 KB)

Reviewers: atul, ginsu

Reviewed By: atul, ginsu

Subscribers: ashoat, tomek, abosh

Differential Revision: https://phab.comm.dev/D5599

Details

Provenance
rohanAuthored on Nov 10 2022, 9:54 AM
Reviewer
atul
Differential Revision
D5599: [web] Add spoiler style to MarkdownSpoiler
Parents
rCOMMa1fc1005512c: [web] Extract thread-related selectors out of web/selectors/nav-selectors
Branches
Unknown
Tags
Unknown