Can anyone help me align a button to the bottom of the screen so that it remains in place even when scrolling through a list? I've tried adjusting the code but can't seem to get it right.
This is how my current screen appears, with the button always centered while scrolling: https://i.sstatic.net/uV6pV.png
Here's the code I have for this:
<Link to={"/checkout-summary"}>
<div className="checkoutbtn">
<Button
style={{
boxShadow: "none",
borderRadius: "0px",
position: 'absolute',
bottom: 0
}}
variant="contained"
color="primary"
>
Check Out
</Button>
</div>
</Link>