I'm facing an issue with the header I created - I want it to be 100% width of the screen, but when I decrease the screen size, it doesn't scale accordingly. Here's my current CSS:
<Box
style={{
backgroundColor: "RGB(46, 180, 195)",
height: "60px",
padding: "12px",
width:"100vw",
position: "sticky",
top: 0,
}}>
https://i.sstatic.net/t8yU3.png
While the header fits the screen when the size is normal, it fails to adjust properly when I reduce the screen size. I've also tried using a percentage value for width without any success.