fix: module quick action dropdown overflow fix (#3865)

This commit is contained in:
Anmol Singh Bhatia 2024-03-06 14:27:59 +05:30 committed by GitHub
parent 666b7ea577
commit 69fa1708cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -265,7 +265,7 @@ export const ModuleCardItem: React.FC<Props> = observer((props) => {
</button> </button>
))} ))}
<CustomMenu ellipsis className="z-10"> <CustomMenu ellipsis className="z-10" placement="left-start">
{isEditingAllowed && ( {isEditingAllowed && (
<> <>
<CustomMenu.MenuItem onClick={handleEditModule}> <CustomMenu.MenuItem onClick={handleEditModule}>

View File

@ -255,7 +255,7 @@ export const ModuleListItem: React.FC<Props> = observer((props) => {
</button> </button>
))} ))}
<CustomMenu verticalEllipsis buttonClassName="z-[1]" placement="bottom-end"> <CustomMenu verticalEllipsis buttonClassName="z-[1]" placement="left-start">
{isEditingAllowed && ( {isEditingAllowed && (
<> <>
<CustomMenu.MenuItem onClick={handleEditModule}> <CustomMenu.MenuItem onClick={handleEditModule}>