Skip to content

Conversation

@youknowriad
Copy link
Contributor

closes #2543

This PR apply the image resized width to its figure wrapper to constrain the caption in these boundaries.

Note: This PR makes previously resized image blocks invalid.

@youknowriad youknowriad added the [Type] Bug An existing feature does not function as intended label Sep 6, 2017
@youknowriad youknowriad self-assigned this Sep 6, 2017
@codecov
Copy link

codecov bot commented Sep 6, 2017

Codecov Report

Merging #2682 into master will increase coverage by <.01%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2682      +/-   ##
==========================================
+ Coverage   33.03%   33.04%   +<.01%     
==========================================
  Files         182      182              
  Lines        5533     5535       +2     
  Branches      963      965       +2     
==========================================
+ Hits         1828     1829       +1     
  Misses       3137     3137              
- Partials      568      569       +1
Impacted Files Coverage Δ
blocks/library/image/block.js 0% <0%> (ø) ⬆️
blocks/library/image/index.js 64.7% <100%> (+2.2%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 92e1804...ffa079a. Read the comment docs.

Copy link
Member

@karmatosed karmatosed left a comment

Choose a reason for hiding this comment

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

This fixes the issue, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Bug An existing feature does not function as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

When resizing, image captions are not kept under the images.

3 participants