okkur / syna

Highly customizable open source theme for Hugo based static websites
https://syna.okkur.org/demo/
Apache License 2.0
250 stars 133 forks source link

Portfolio: Top of modal is cut off under certain conditions #838

Open c-mauderer opened 3 years ago

c-mauderer commented 3 years ago

Is this a BUG REPORT or FEATURE REQUEST?: bug

What happened:

If you click on one of the portfolio items a modal window opens. In small browser windows the top of the modal is cut off. The close button isn't reachable. The scroll bar is already all the way to the top and I can't scroll up any further.

Note that this is more likely to happen if the image is bigger then the suggested 500x380.

What you expected to happen:

I expect that I can scroll all to the top of the modal.

How to reproduce it (as minimally and precisely as possible):

Use the official Syna Example Site, open the portfolio and click on the second image. Reduce the height of your browser. See here for an example screenshot:

https://gist.githubusercontent.com/c-mauderer/e3e2cb400f4edc634ce951f336a2e24f/raw/403a1d17f74d484e3fce2b3cc040fef6701e7eed/Screenshot_20201114_190040.png

Anything else we need to know?:

Environment: