Page MenuHomePhabricator

[web] First pass at styling `ConfirmLeaveThreadModal`
ClosedPublic

Authored by atul on Apr 11 2022, 2:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 18 2024, 3:06 PM
Unknown Object (File)
Nov 18 2024, 3:05 PM
Unknown Object (File)
Nov 17 2024, 10:40 AM
Unknown Object (File)
Nov 17 2024, 9:44 AM
Unknown Object (File)
Nov 17 2024, 9:38 AM
Unknown Object (File)
Nov 17 2024, 9:36 AM
Unknown Object (File)
Nov 14 2024, 8:59 AM
Unknown Object (File)
Nov 14 2024, 8:59 AM

Details

Summary

Started with styles borrowed from thread-settings-modal.css and made some tweaks so it looks decent.

Before:

d3c4.png (330×706 px, 41 KB)

After:

a187.png (442×704 px, 44 KB)

Test Plan
  1. Created a "leavable" thread in my dev environment
  2. Clicked "Leave thread" in menu
  3. Ensured that the ConfirmLeaveThreadModal looked as expected
  4. Clicked the "Leave thread" button and confirmed that I had left the thread.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul requested review of this revision.Apr 11 2022, 2:52 PM
tomek added inline comments.
web/modals/threads/confirm-leave-thread-modal.css
6

Do we need this?

10

We should prefer using a variable from typography. We don't have 700 there, but I guess we should use --bold

This revision is now accepted and ready to land.Apr 13 2022, 4:18 AM
atul marked 2 inline comments as done.

rebase before addressing feedback

address feedback from @palys-swm