Merge pull request #429 from getmaxun/menu-fix

feat: center menus
This commit is contained in:
Karishma Shukla
2025-02-02 18:48:19 +05:30
committed by GitHub

View File

@@ -343,11 +343,11 @@ export const NavBar: React.FC<NavBarProps> = ({
onClose={handleMenuClose}
anchorOrigin={{
vertical: 'bottom',
horizontal: 'right',
horizontal: 'center',
}}
transformOrigin={{
vertical: 'top',
horizontal: 'right',
horizontal: 'center',
}}
PaperProps={{ sx: { width: '180px' } }}
>
@@ -389,11 +389,11 @@ export const NavBar: React.FC<NavBarProps> = ({
onClose={handleMenuClose}
anchorOrigin={{
vertical: "bottom",
horizontal: "right",
horizontal: "center",
}}
transformOrigin={{
vertical: "top",
horizontal: "right",
horizontal: "center",
}}
>
<MenuItem
@@ -485,11 +485,11 @@ export const NavBar: React.FC<NavBarProps> = ({
onClose={handleMenuClose}
anchorOrigin={{
vertical: "bottom",
horizontal: "right",
horizontal: "center",
}}
transformOrigin={{
vertical: "top",
horizontal: "right",
horizontal: "center",
}}
>
<MenuItem