How to set button responsive according to text length?

How do to set button responsive according to text length?

Hi,

I am not sure what do you mean, can you give me link of your website or maybe a screenshot of button you are talking? So I can understand you better