getodk / docs

The documentation for all the ODK tools. This is one of the most popular artifacts our community produces. It's built in Sphinx. ✨📚✨
https://docs.getodk.org/
Other
53 stars 157 forks source link

image loading breaks anchor linking #736

Open adammichaelwood opened 6 years ago

adammichaelwood commented 6 years ago

If you load a page with a #section-link in the url, and the page has a lot of images on it, the loading will continue after the browser has already scrolled to the desired location. Loading images causes the page content to change sizes (it gets longer) and so you lose your place immediately. It's a bad experience.

I believe the way to fix this is to specify the height of the images, so that the browser will just allot the appropriate amount of space on load. This messes with display-size-appropriate sizing, though. (And images that aren't device screenshots won't all have the same uniform proportions.) I'm sure there's some CSS media query trick here.

ankita240796 commented 6 years ago

@opendatakit-bot claim

getodk-bot commented 6 years ago

Hello @ankita240796, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over 15 days.

You can reclaim this issue or claim any other issue by commenting @opendatakit-bot claim on that issue.

Thanks for your contributions, and hope to see you again soon!