Page MenuHomePhabricator

[web] fix leave channel modal for long thread names
ClosedPublic

Authored by ginsu on Thu, Jun 27, 12:45 AM.
Tags
None
Referenced Files
F2201762: D12582.id41861.diff
Sat, Jul 6, 5:08 AM
F2201064: D12582.id41862.diff
Sat, Jul 6, 2:15 AM
F2197856: D12582.diff
Fri, Jul 5, 4:03 PM
Unknown Object (File)
Thu, Jul 4, 11:45 AM
Unknown Object (File)
Wed, Jul 3, 9:37 PM
Unknown Object (File)
Wed, Jul 3, 3:47 PM
Unknown Object (File)
Wed, Jul 3, 2:17 PM
Unknown Object (File)
Wed, Jul 3, 2:17 PM
Subscribers

Details

Summary

This fixes a bug where the modal would gorw really wide if the thread name has a really long name. This diff fixes this bug

Linear task: https://linear.app/comm/issue/ENG-8438/leave-channel-modal-on-web-grows-when-a-thread-has-a-really-long-name

Test Plan

Please see the screenshots

Before:

Screenshot 2024-06-27 at 3.42.59 AM.png (1×3 px, 619 KB)

After:

Screenshot 2024-06-27 at 3.43.06 AM.png (2×3 px, 862 KB)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu edited the test plan for this revision. (Show Details)
ginsu added a reviewer: inka.
ginsu requested review of this revision.Thu, Jun 27, 1:01 AM

Don't love hardcoding pixel values like this. Should it be a CSS variable?

This revision is now accepted and ready to land.Mon, Jul 1, 11:50 AM

address comments + rebase before landing