Modal box cross always jumps away

Does anyone happen to know how I can prevent this in the modal box?
The close button keeps moving when I hover over it, and I can’t figure out why it’s doing that or how to stop it from jumping around.

Here is a video:

I think you have set a margin or padding on hover.

1 Like