force wider space around button text css code example
Example: button width based on text csss
Remove the width and display: block and then add display: inline-block to the button.
Remove the width and display: block and then add display: inline-block to the button.