Need help with linear colours

how do i make it so the linear colour fading is going from up to down not left to right?