cncf / cncf.io

☁️♮🏛🚧 The CNCF.io WordPress website
https://cncf.io
MIT License
84 stars 38 forks source link

People profiles have a lot of whitespace on tablet widths #761

Closed cjyabraham closed 1 year ago

cjyabraham commented 1 year ago

from iPad 10 with Safari

Screen Shot 2023-07-16 at 9 04 42 AM
thetwopct commented 1 year ago

The height is the same for any device over 768px. We based the max height of the modal to roughly fit the longest profiles - 800px height. In this example the person has a short-ish profile. With a long profile on iPad, I would say it looks good:

Screenshot-2023-08-25 --11 13 31@2x

Setting a max height results in all modals opening in the same place on the screen. I can apply "fit-content" to the max-height, but then the profiles jump around the screen depending on the length of the profile - I don't think this looks good.

Screenshot-2023-08-25 --11 11 44

Solutions:

Overall, I would see this as an edge case and as majority of cases it works, I'd suggest this to be a Won't Fix.

cjyabraham commented 1 year ago

Agreed. "Won't fix" as it's an edge case. Thanks for the explanation.