pettiness

noun
  1. the quality of being concerned with trivial or unimportant matters
  2. the quality of being mean-spirited or spiteful about small things

Examples