Prevent scrollbar from shifting content

This commit is contained in:
Daniel Cojocea
2024-09-07 14:54:19 -04:00
parent d117f38a83
commit 409bb3262f
4 changed files with 5 additions and 1 deletions
+2
View File
@@ -306,6 +306,7 @@ function Sidebar() {
anchorEl={anchorEl}
open={Boolean(anchorEl) && popup === item.name}
onClose={closePopup}
disableScrollLock
anchorOrigin={{
vertical: "top",
horizontal: "right",
@@ -591,6 +592,7 @@ function Sidebar() {
anchorEl={anchorEl}
open={Boolean(anchorEl) && popup === "logout"}
onClose={closePopup}
disableScrollLock
anchorOrigin={{
vertical: "top",
horizontal: "right",