Adjusting styles for elements and preview.