Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images can be super tall #63

Closed
curtisgibby opened this issue Mar 18, 2019 · 1 comment
Closed

Images can be super tall #63

curtisgibby opened this issue Mar 18, 2019 · 1 comment

Comments

@curtisgibby
Copy link

Since my screen is very wide, the default GitHub CSS can make images become very wide and therefore very tall. I find myself having to scroll to see the entirety of a screenshot from modern phones. The following CSS snippet appears to work for my use-case.

.markdown-body img {
    max-height: 60em; /* or ~800px */
}

Before

image

After

image

If you'd like, I can open a PR with this minor change.

@mdo
Copy link
Owner

mdo commented Jun 26, 2019

I think I'll pass on this for now and see what others say.

@mdo mdo closed this as completed Jun 26, 2019
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

No branches or pull requests

2 participants