Add noPreview css class for case no preview