styling for preview box