Fix a bug where thumbnails would be too small on mobile