Skip to content

Conversation

@DSouzaM
Copy link
Contributor

@DSouzaM DSouzaM commented Oct 18, 2017

Changes the logo and slogan styling to scale based on screen height. This produces more suitable results on different screen sizes.

Also adds a height threshold to show mobile UI (previously, a wide but short window would not trigger the mobile UI, so the site wouldn't look very good viewing landscape on a phone).

1920x1200px (computer, high-res)
dotty-1920x1200

1280x800px (computer, low-res)
dotty-1280x800

360x640px (phone, portrait)
dotty-360x640

640x360px (phone, landscape)
dotty-640x360

I've tested this change with many other different screen sizes within Chrome as well, with good results.

Copy link
Member

@dottybot dottybot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, and thank you for opening this PR! 🎉

All contributors have signed the CLA, thank you! ❤️

Have an awesome day! ☀️

@felixmulder
Copy link
Contributor

Awesome! LGTM :)

@allanrenucci allanrenucci merged commit 040bed3 into scala:master Oct 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants