。
I didn't like the atmosphere.
Literal
Atmosphere [subject-が] unpleasant was.
いやだった is the past of いや (unpleasant/disagreeable) — a な-adjective expressing dislike. Short and natural. The subject (speaker) is omitted; the atmosphere takes が as the thing that is いや.