mattermost-community / focalboard

Focalboard is an open source, self-hosted alternative to Trello, Notion, and Asana.
https://www.focalboard.com
Other
21.89k stars 1.97k forks source link

Bug: Card View - Calendar Modal pushed to the right. #1061

Closed sbishel closed 3 years ago

sbishel commented 3 years ago

Summary: The Calendar modal is pushed to the right of the card view.

Steps to reproduce the behavior:

  1. Go to Card view
  2. Create a date property
  3. click on the date property to bring up the date modal.
  4. See error

Expected behavior: The date property should probably be displayed under the date text, not over to the right

Screenshots:

Screen Shot 2021-08-20 at 3 35 31 PM

Additional context: Appears to have been caused by this PR, which added the display: flex to the DateRange class. https://github.com/mattermost/focalboard/pull/1008

sbishel commented 3 years ago

Hey Asaad. Assigning to you as you just introduced the flex property. I was going to remove it, but it wasn't clear the issue you were solving by adding it. Screen Shot 2021-08-20 at 3 34 44 PM