I'm having trouble overriding the default styles applied by Material UI with my custom CSS styles. Here's the code I have attached for reference. Can someone please help me figure out what mistake I am making or what I might be missing? Thank you in advance.
Code snippet from React .jsx file:
import "./StreamDashboard.css";
import { Button } from "@mui/material";
const StreamDashboard = () => {
return (
<div className="stream_container">
<Button className="config_button" variant="contained">
Edit Config
</Button>
</div>
);
};
export default StreamDashboard;
CSS code from .css file:
.stream_container {
height: 100vh;
}
.config_button {
color: black;
background-color: yellow;
border-radius: 10px;
margin-top: 10px;
}