It looks like there are limits to how far lawyers can go when it comes to fees in class-action suits.

A U.S. appeals court on Friday threw out a settlement reached by Procter & Gamble in a class-action lawsuit over its Pampers diapers, on the grounds that too much of the money would have gone to the attorneys who brought the suit.

P&G...