CCICB / CRUX

Other
2 stars 1 forks source link

Landing Page Panel Right too Big on small displays[BUG] #118

Closed selkamand closed 10 months ago

selkamand commented 10 months ago

Landing page right panel needs to be larger relative to 'getting started' panel so that on smaller displays the figure doesn't render outside of panel. Test with all common display sizes / aspect ratios

selkamand commented 10 months ago

Doesn't look ok on widescreen monitors

selkamand commented 10 months ago

Final css style for height-based scaling + width autoscaling based on height to preserve aspect ratio + maximums to make spillover impossible

width: auto; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; display: block; margin: auto