When a girl is on a temper tantrum, and is living her bad mood on you....this is when relationships usually end because girls are emo.
Anyway I think I know how to handle this, never get into serious talk and try to comfort her, she won't listen anyway... Just leaving is also not a good idea because then you both leave with a bad mood, but I think I have cracket it.
Instead try to fix it with humour and romance, get your game on, you gotta be at your best then... like its the first date, soon you will forget about the bad mood and she will understand not to be in a bad mood with you again