I did find a solution and I wanted to share it here.
I noticed that using images for background works, so I went and converted my linear-gradient to data:image. There are online tools that can help with it, like this one Gradient to Image maker (angrytools.com)