Kcaden20 / critical-code-cookbook

This is the official repository for the Critical Code Cookbook Website
2 stars 0 forks source link

Resize figcaption #18

Closed xinemata closed 2 years ago

xinemata commented 2 years ago

Check out A School for Vernacular Algorithms as an example – would it be possible to resize figcaption so that the caption width is contained by image width?

Screen Shot 2022-06-22 at 11 10 45 PM

When I add captions using layout blocks that is done automatically, but it's currently not supported by the default text editor.

Screen Shot 2022-06-22 at 11 45 48 PM

Also, the figcaption paddings seem to slightly differ between the two.

Kcaden20 commented 2 years ago

Fixed! Both Strokes now wrap around the figure and the figcaption spacing is aligned. Along with this, I've made it so that all images in projects now have a lightbox on them allowing them to be inspected at a larger size. Before this was only possible with layout figure blocks.

Screen Shot 2022-06-23 at 4 15 41 PMScreen Shot 2022-06-23 at 4 15 23 PM Screen Shot 2022-06-23 at 4 15 53 PM