added css to preview layout