After Modal redesign, the modal size must be set to fit-content to display it with correct size.
Before:
After:
Paths
| Differential D3836 Authored by • jacek on Apr 25 2022, 10:01 AM.
Tags None Referenced Files
Details Summary Test Plan Try to leave the thread in web app - the modal size should now be correct
Diff Detail
Event TimelineHerald added subscribers: • abosh, • karol, atul and 3 others. · View Herald TranscriptApr 25 2022, 10:01 AM2022-04-25 10:01:32 (UTC-7) • jacek edited the summary of this revision. (Show Details)Apr 25 2022, 10:04 AM2022-04-25 10:04:05 (UTC-7) Harbormaster completed remote builds in B8515: Diff 11874.Apr 25 2022, 10:08 AM2022-04-25 10:08:13 (UTC-7) Comment Actions Are there any other modals that need this update? Adding @atul as a blocking reviewer to make sure he sees this as he's been cleaning up some modals recently • jacek added a parent revision: D3669: [web] Redesign `Modal` to match Figma.Apr 25 2022, 10:11 AM2022-04-25 10:11:35 (UTC-7) Comment Actions
I tried to test all existing modals after rebasing modals redesign, and found only this (newly introduced) one. If I haven't missed anything, all others can remain unchanged Comment Actions Looks good, I wonder if longer term the "right place" to put fit-content is somewhere in the CSS? This revision is now accepted and ready to land.Apr 26 2022, 7:54 AM2022-04-26 07:54:12 (UTC-7) Harbormaster completed remote builds in B8559: Diff 11928.Apr 26 2022, 8:59 AM2022-04-26 08:59:15 (UTC-7) Harbormaster completed remote builds in B8561: Diff 11930.Apr 26 2022, 9:07 AM2022-04-26 09:07:11 (UTC-7) Closed by commit rCOMM793626f9a376: [web] Change `ConfirmLeaveThreadModal` size to `fit-content` (authored by • jacek). · Explain WhyApr 26 2022, 9:09 AM2022-04-26 09:09:31 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 11939 web/modals/threads/confirm-leave-thread-modal.react.js
|