I'm currently trying to add a slider to my website but are running into issues around using the Box Slider component. My website uses an 80px margin around the main page content so I want the slider to fit into the main page content without stretching the full width of the page.
This is a screenshot of how I want it to look:
The problem I am running into is when the page resizes the slider doesn't resize along with it as with the other page elements. This is essentially what happens:
Does anyone have any advice on how to solve this?