HomePhabricator
Diffusion Comm 2ec3adefc49d

[web] Introduce additional `Menu` styling variants

Description

[web] Introduce additional Menu styling variants

Summary:
Add additional styles for Menu, so it could be used in modal (where the menu design is a bit different)
Default styling (in thread actions menu) remains the same, although the menu will a bit lower than it should. After the next diff (moving rendering into portal) it will look ok.

Menu with thread actions:

Screenshot_Google Chrome_2022-03-09_144006.png (251×186 px, 9 KB)

Menu in modal:

Screenshot_Google Chrome_2022-03-09_143937.png (128×194 px, 7 KB)

Test Plan: Newly added styles are not used yet, but current thread actions menu should remain the same (only its position is not exactly correct)

Reviewers: palys-swm, benschac, atul

Reviewed By: palys-swm, benschac

Subscribers: ashoat, Adrian, atul, karol-bisztyga, benschac

Differential Revision: https://phabricator.ashoat.com/D3376

Details

Provenance
jacekAuthored on Mar 25 2022, 5:18 AM
Reviewer
tomek
Differential Revision
D3376: [web] Introduce additional `Menu` styling variants
Parents
rCOMMedabcb272be9: [web] Introduce menu context for displaying actions menu
Branches
Unknown
Tags
Unknown