BIDMCDigitalPsychiatry / LAMP-platform

The LAMP Platform (issues and documentation).
https://docs.lamp.digital/
Other
12 stars 10 forks source link

Visualization error for DBT Diary card #666

Closed Devayani0102 closed 1 year ago

Devayani0102 commented 2 years ago

Describe the bug When looking at the visualization for the diary card, the dropdown for Skill used does not fit the screen (see attached screen recording). The visualization looks okay in the first week, but starting from the data entered in the second week, it does not show up properly.

First noticed for user U5128892212 on iPhone 7 and Redmi note 6 pro.

To Reproduce

  1. go to any user account with DBT Diary card.
  2. enter data for two weeks at least
  3. starting on the second week, the bug can be replicated.

Screenshots https://user-images.githubusercontent.com/103677721/176761386-5a92b050-f430-4c6b-a68e-bde36f1a2311.MP4

Can also be replicated on desktop (chrome ) using developer tools

Screen Shot 2022-06-30 at 3 42 25 PM

Expected behavior The visualization should fit on the screen. This is what it is supposed to look like-

https://user-images.githubusercontent.com/103677721/176765883-32916ff5-c80a-4849-8b05-8938718c2d36.MP4

Desktop (please complete the following information):

Smartphone (please complete the following information):

divyav2020 commented 1 year ago

We have updated in staging