Adjusted font sizes and borders in gallery