Of course you have a chance with her. You are only slightly less taller than she is and she did tell you that a partner who is taller than her or the same height isn’t a must.
There is no need to come up with some kind of strategy to overcome the height issue. That could actually work against you because she will notice that you are trying to overcompensate. This could easily make you look like you are insecure or lack confidence.
Instead, focus on showing her your dynamic personality and make sure you let your intentions be known by asking her out and taking the opportunity to flirt with her when appropriate. If she enjoys her time with you, she will come to like you and your height won’t be a factor.