I want to make the Content of the button occupy the view

I want to stop the content of the button from getting out of the screen. What shall i do?
Please Add a sample code to solve this problem.

sure i will defiantly help you,
can you share your html and scss file?