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

Fix wide image to contain in content #1281

Merged
merged 3 commits into from
Aug 7, 2018

Commits on Jul 24, 2018

  1. Set an inline width: auto for <figure> that has width: fit-content.

    A `<figure>` element with `.wp-block-image` and not `.is-resized` has its width set to a default of `fit-content`.  That CSS rule value causes wider images to overflow out of the parent container.  For this element, this commit adds an inline style of `width: auto`.
    
    Closes #1086.
    Tonya Mork committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    799fba6 View commit details
    Browse the repository at this point in the history
  2. Test wider image conditions.

    Tonya Mork committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    9d29f52 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2018

  1. Configuration menu
    Copy the full SHA
    95e33e8 View commit details
    Browse the repository at this point in the history