In all honesty, nobody can really say how long your stride should be when hitting a baseball.
Think about your favorite professional players – some will have a really big leg lift and a wide stride going into their swing while others swing with less exaggerated movements, but both types of stride are capable of producing incredible line drives.
The most important thing is staying in control. If your stride isn’t in line then cracks start to form in the rest of your technique.
Generally speaking, a shorter stride can be more advantageous when it comes to staying in control, but it’s really about what feels good and comfortable.