HomePhabricator
Diffusion Comm 1a646434baa1

[web] Redesign `Modal` to match Figma

Description

[web] Redesign Modal to match Figma

Summary:
Redesigned modal to match existing designs. Refactored and simplified CSS classes and removed redundant container in component.
Removed fixedHeight property, as it was used in one place and had no effect on existing implementation.
Existing modal sizes (small, large) should work as before. Introduced fit-content size option, to allow adjust modal size by its content.

Screenshot_Google Chrome_2022-04-08_150355.png (895×1 px, 114 KB)

Test Plan: Opened currently existing modals. It's size should remain unchanges, but fonts and design should now match Figma.

Reviewers: palys-swm, atul, benschac

Reviewed By: atul

Subscribers: ashoat, palys-swm, Adrian, atul, karol-bisztyga, benschac, yayabosh

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

Details

Provenance
jacekAuthored on Apr 26 2022, 8:28 AM
Reviewer
atul
Differential Revision
D3669: [web] Redesign `Modal` to match Figma
Parents
rCOMM3274d77df84a: [web] Remove `Modal`s usused style
Branches
Unknown
Tags
Unknown