Enable automatic layout with collision detection in browse rows dropdown DSF-236

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8771
GitOrigin-RevId: 75e30b0f8b23018f305c62babe53399b12b5515d
This commit is contained in:
Julian@Hasura 2023-04-13 17:38:44 -03:00 committed by hasura-bot
parent eada60b80d
commit cd96ec94fc

View File

@ -70,7 +70,7 @@ export const DropdownMenu: React.FC<DropdownMenuProps> = ({
{...options?.content}
className={zIndex}
>
<div className="origin-top-left absolute left-0 z-10 mt-xs w-max rounded shadow-md bg-white ring-1 ring-gray-300 divide-y divide-gray-300 focus:outline-none">
<div className="z-10 mt-xs w-max rounded shadow-md bg-white ring-1 ring-gray-300 divide-y divide-gray-300 focus:outline-none">
{items.map((group, groupIndex) => (
<div className="py-1" key={groupIndex}>
{group.map((item, itemIndex) => (