codeforcroatia / popravi.to

This is popular map-based reporting platform FixMyStreet for Croatia named "Popravi.to"
http://popravi.to
Other
9 stars 7 forks source link

Map has wrong size on Report details screen #152

Open schlos opened 2 years ago

schlos commented 2 years ago

Describe the bug

Map has wrong size on Report details screen (see under screesnhots).

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

As per Figma design:

Map on Report details screen should be fixed to visible part of a screen and non scrollable (on Desktop). Text details on left side of a screen should be possible to scroll is there is content that does not fit on a visible part of a screen - see example on a FixMyStreet:

Screenshots

Current problem with map size:

Screenshot from 2021-10-17 15-00-17

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

First development version with static HTML can be fetched on our internal drive (this screen is report_details.html): https://drive.google.com/file/d/1wS_feNEopHBk9Ji2u66Bex3okye27azd/view?usp=sharing

schlos commented 2 years ago

For working reference, refer to the original FMS web and how it's working as a progressive mobile app and how map is displayed on a mobile screen: https://github.com/mysociety/fixmystreet/issues/1996#issuecomment-365895609

schlos commented 2 years ago

How to contribute? Read our contribution guidelines at https://codeforcroatia.org/popravito-contribution-guidelines.