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

More natural zooming on block level elements #1572

Merged
merged 1 commit into from
Apr 29, 2016

Conversation

jesstelford
Copy link
Contributor

Switching a display: block element to display: inline-block allows calculating the bounds based on the contents of the div rather than the entire container (which is often width: 100%).

This provides a much more natural zoom, especially for paragraphs and code examples.

Switching a `display: block` element to `display: inline-block` allows calculating the bounds based on the contents of the div rather than the entire container (which is often `width: 100%`).

This provides a much more natural zoom, especially for paragraphs and code examples.
@hakimel hakimel merged commit 2d54bc6 into hakimel:dev Apr 29, 2016
@hakimel
Copy link
Owner

hakimel commented Apr 29, 2016

Looks good, thanks!

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.

2 participants