Specify comment body width to stop overflow on long strings

Summary

Closes #2478 (closed) Fix comment box overflowing on prod when one word is too long for the box (also applies to URLs)

Steps to test

  1. Log-in, go to a group
  2. Copy a long string e.g. 123451123451123451123451123451123451123451123451123451123451123451123451123451123451123451123451123451123
  3. Paste it in a groups chat comment. Chat should not overflow
  4. Post an activity
  5. Make a comment, paste the value in again
  6. It should not break media modal comments
  7. It should not break media pages comments.
  8. It should not break blogs comments
  9. It should not break comments on pro content.

image

Estimated Regression Scope

We could have a comment box somewhere that this doesn't work for. In all cases I can see, it does.

Edited by Ben

Merge request reports

Loading
Loading