Read the dictionary definition of petty. All definitions for this word.
1. larceny of property having a value less than some amount (the amount varies by locale)
2. contemptibly narrow in outlook
1. petty little comments
2. disgusted with their small-minded pettiness
3. (informal) small and of little importance
1. a fiddling sum of money
2. a footling gesture
3. our worries are lilliputian compared with those of countries that are at war
4. a little (or small) matter
5. a dispute over niggling details
6. limited to petty enterprises
7. piffling efforts
8. giving a police officer a free meal may be against the law, but it seems to be a picayune infraction
4. inferior in rank or status
1. the junior faculty
2. a lowly corporal
3. petty officialdom
4. a subordinate functionary