Why the layout of preview form and opening in new tab is different?