I\'m trying to do a gradient on a button but I can\'t make it have the same gradient as the other part of the button. I tried adding a gradient inside a gradient but it doesn\'t
That's because you are already using the linear-gradient property as a trick to create a triangle end on your button.
You can't use the same property multiple times. If you want a triangle end, maybe stick with flat color on your button.