So says the building code.
Shower door height code.
Because shower doors are usually glass and can break and because of other access issues bathroom code states that shower doors need to have at least 24 inches of opening clearance.
As you enter the bathroom the door needs to be able to swing its width into the room without.
A minimum space of 21 inches must be planned in front of lavatory toilet bidet and tub.
The shower door needs to have an opening clearance of at least 24 inches.
Code for the doorway opening to the bathroom is 32 inches with 34 inches being the recommendation.
This is also a safety issue because users who are forced to slip around narrow door openings are more prone to slipping on the floor.
Shower floor minimum size is usually mandated to be at least 30 inches square.
For assistance with your specific situation contact your shower manufacturer.
Shower maximum sizes are not mandated but minimum sizes are regulated.
That is 30 inches by 30 inches.
Toilet bathroom building codes.
A minimum space of 24 inches must be planned in front of a shower entry.
Shower controls should be placed at a height 40 50 102 127 cm above the shower floor and out of direct line of the water path to avoid being caught in extremely cold or hot water when operating.
Shower heads are located at a standard height of 80 203 cm but can be set at a minimum height of 72 183 cm if desired.