Vizzuality / openDRI

Open Data for Resilience Initiative
1 stars 1 forks source link

Map pop up boxes taller #193

Closed shanikadhettige closed 7 years ago

shanikadhettige commented 8 years ago

How do you make the taller box for the Pacific Islands post? Can we have the same automated for when the text is longer and doesn't show the "view project" button in the box window?

The scroll bar is not obvious so it is better to have it all show when the box appears. The excerpts for these projects will not offer useful information if we cut them down much more.

belize pop up

apercas commented 8 years ago

They all depend on the content we input in the excerpt, we are not applying different heights for each project.

shanikadhettige commented 8 years ago

Yes, when there is more content in the excerpt, can more height be there as the view project button is not always visible?

apercas commented 7 years ago

Hi there, now the poopups are flexible, content height dependant, hope you like it :)

shanikadhettige commented 7 years ago

@apercas Thanks, this looks good on Chrome Unfortunately, it still does not work on IE and Firefox. IE just has the scroll the way it was before but Firefox shows the View Project button partially on some and fully on others. The button size (spacing around text) is also inconsistent between different countries on Firefox. See attached images.

Note: The project map was also not showing up on Firefox even though I have waited for several minutes... I will create a separate issue for this.

chrome_projectbox_issue firefox_projectbox_issue3 firefox_projectbox_issue2 firefox_projectbox_issue ie_projectbox_issue

shanikadhettige commented 7 years ago

This appears to be fixed on IE as well now (thank you @apercas) The only remaining issue for IE is that the blue space around the View Project buttons are different sizes (e.g. see the difference between Mauritius and Mozambique) - the preferred option is like Mauritius or Guyana I haven't checked the other browsers at this time

shanikadhettige commented 7 years ago

Following up in https://github.com/Vizzuality/openDRI/issues/214