// makes it so images don't bleed into the content on the right .catalog img { max-width: 100%; max-height: auto; } .document-thumbnail { img { width: 100%; } }