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

Prevent giant images in editor #231

Merged
merged 1 commit into from
Feb 18, 2017
Merged

Prevent giant images in editor #231

merged 1 commit into from
Feb 18, 2017

Conversation

verythorough
Copy link
Contributor

- Summary

Discovered that large images inserted in the markdown editor expand beyond the borders of the editor, making them a hassle to scroll past.

I added the common global default img { max-width: 100%; } to prevent this and other similar layout bugs that may come up in the future.

- Test plan

Quick-and-dirty testing with the web inspector showed the problem solved and no other layout bugs as a result.

- Description for the changelog

Prevent images from overflowing their containers

- A picture of a cute animal (not mandatory but encouraged)

(my pups, Monty and Petunia) 😄
Monty and Petunia, shibas extraordinaire

@calavera
Copy link
Contributor

LGTM, @cassiozen ?

@biilmann biilmann merged commit e294b87 into decaporg:master Feb 18, 2017
@verythorough verythorough deleted the fix-img-width branch March 9, 2017 05:05
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.

3 participants