While modifying the example code for Material UI's drawer navigator, I decided to enhance it by adding a notification icon and a checkout icon with the Admin Panel typography in the toolbar.
However, I encountered an issue where the checkout icon appeared correctly towards the right end of the toolbar, but the notification icon seemed to be stuck in the middle. How can I resolve this placement discrepancy?
Below is an excerpt from Drawer.tsx:
const drawerWidth = 240;
...
In an attempt to address this problem, I also included additional CSS styling in a separate file named Drawer.css, but unfortunately, it did not have the desired effect.
.panelheaderRight{
margin-right: 0;
float: right;
right: 0;
}
.toolbar-class{
display:flex;
justify-content:space-between;
width: 100%;
}