adjust the style for adding a panel class to form