ohcnetwork / care_fe

Care is a Digital Public Good enabling TeleICU & Decentralised Administration of Healthcare Capacity across States.
https://care.ohc.network
MIT License
231 stars 416 forks source link

Comment Overflow Issue in Shifting Section #8840

Closed kihan2518B closed 2 hours ago

kihan2518B commented 2 hours ago

Describe the bug In the comments section of the shifting section, when a word or sentence is entered without spaces, the text overflows beyond the boundaries of the parent div and stretches across the screen width, breaking the layout. This creates a poor visual appearance and disrupts the user interface.

To Reproduce Steps to reproduce the behavior:

  1. Go to '/shifting/board'
  2. Click on 'All details' of any card
  3. In the comments section, type a long word or sentence without any spaces and post it.
  4. See error

Expected behavior The text should wrap or be truncated within the boundaries of the parent div, maintaining the proper layout.

Screenshots Image

Desktop (please complete the following information):

bodhish commented 2 hours ago

addressed in https://github.com/ohcnetwork/care_fe/pull/8722