This follows up #19099 and #20349 to restore the auto-layout grid class generation for the flexbox grid system.