This feature is only currently available in Salesforce Classic.
To collapse the Log a Call area when an agent saves their call notes, add the NOTES_COLLAPSIBLEĀ control flag to the Flags field in custom settings. For information about modifying custom settings, seeĀ Configuring custom settings for optional ContactWorld features in Salesforce.