add css for preview