Padding fix for spans and input field when regex is selected