Struggling to fit my content within a Material UI container in a React project, but it's creating odd margins. Check out the current look: https://i.stack.imgur.com/TaQs2.png
Here's how I want it to display with full width: https://i.stack.imgur.com/KRTN2.png
Unable to find solutions on adjusting the container width. Any tips or workarounds? Tried setting the container width to 100vw but CSS didn't respond. See my code below:
////PURCHASE PAGE
import React from 'react';
import Container from '@mui/material/Container';
import AppBar from '../../components/AppBar/AppBar';
import Footer from '../../components/Footer/Footer';
import './Buy.css';
const Buy = () => {
return (
<Container>
<AppBar />
<Footer />
</Container>
);
};
export default Buy;
////CSS
.buy-container {
overflow-y: hidden;
width: 100vw;
}