With regard to gymnastics, the British Gymnastics Association has, (at last) given official permission for the Women to wear the sort of clothing they feel comfortable in (obviously must not interfere with what the judges need to see). So, special leotard shorts over their leotard can be worn or unitards, etc. Unfortunately, not yet in the rules for the International body (FIG), think that will happen over next three years.
Gymnastic leotards for the Artistic gymnasts do seem to have got a higher and higher leg cut over the years (makes the legs look longer), but if a gymnast adjusts their leotard during the exercise there is a specific deduction, so this has resulted in many a competitor having to suffer the leotard becoming like a thong. Thanks goodness that will be a thing of the past soon.
As for the Beach Volleyball rules, why are there different dress code for this event for men and women??? Well done to 'Pink'