Remove css lines that were preventing images from resizing correctly

From #2590.