Buttons get longer when pressed if using AJAX
I suspect it's the trobber, you know the little .gif image showing an ajax loading.

You can fix it via css, but to find out the class/id to edit, i had to break the ajax and force it to never complete the load, so i had time to inspect the markup with firebug.

check this discussion:

https://www.drupal.org/node/1059674