Updating styles for the panel