There are probably hundreds of shaps of AC dryers, and they pretty much all do the same thing, but may have different fittings. It is entirely OK if the dryer is slightly shorter, the functionality will not differ. The sight of it may bug you.
Toyota has a couple different driers that have the same hose/bolt pattern on the top, but vary in length. The stock 80 series drier (Denso 478-0505) is roughly 7 1/2" tall. If you look at a drier for a same year Camry (Denso 478-0500) it's roughly 3/4" shorter, same fittings on top.