The obnoxious creationist is not being sued for being a world-class ignoramus, however — that’s perfectly legal. She’s being sued for interfering with the education of children.
She’s been on a bender of offense because her local library provides open internet access to the public, and apparently she once saw someone viewing porn on a library computer. Most normal people would point this out to a librarian, who would politely ask the person to move on, but no, not Megan Fox! She is outraged! So she’s been harrassing the library staff.
She’s upset that the library provides unfiltered access to the internet (sounds like a good library to me). The legal documents (pdf) list a great many of Fox’s offenses against truth: she has posted photos of the librarian’s home (creepy!), has falsely accused her of drunkenness at work and of making anti-gay slurs, and has disrupted library board meetings. But the real nuisance is how she’s been abusing the law to torment librarians.