Limit the size of contents in <figure>