What happened at the K-Pg limit with dinosaurs and crocodiles is similar, both went from being very wide to a handful of species remaining. The difference is what happened afterwards, when the few (single?) species of dinosaurs that remained diversified into what we now call birds.
The interesting thing from the article is that crocodiles are still evolving rapidly, but not diversifying! they seem to be successful in their narrow and specialist niche.