To rotate the gradient, add 45deg followed by a comma ,.

Make sure to type 45deg,.