This was such a struggle for me until a few years ago when I made it a habit to imagine that every person who rubs me the wrong way has someone who loves them, and it’s honestly chilled me out so much. It makes me a little less inclined to pettiness, and I like it. Highly recommend.