Pin number and pin name can be rotated at 90-degree angle.
To do it in Component Editor and Schematic:
‒ push the F10 button on the keyboard,
‒ select the needed pin number/name,
‒ use the left mouse button to grip it,
‒ use R or Space to rotate.