Revert some css for gallery