The law would be broken if the victim(of sexual abuse) filed a complaint and if it was non consensual. There is no indication that this was the case here. There are no laws against adultery in the US (at least where it matters, CA).
OTOH there are corporate policies against having an affair with a subordinate, with relevant punishments, but the judgment on those can be subjective and not under the purview of the law.