mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
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:
parent
eada60b80d
commit
cd96ec94fc
@ -70,7 +70,7 @@ export const DropdownMenu: React.FC<DropdownMenuProps> = ({
|
|||||||
{...options?.content}
|
{...options?.content}
|
||||||
className={zIndex}
|
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) => (
|
{items.map((group, groupIndex) => (
|
||||||
<div className="py-1" key={groupIndex}>
|
<div className="py-1" key={groupIndex}>
|
||||||
{group.map((item, itemIndex) => (
|
{group.map((item, itemIndex) => (
|
||||||
|
Loading…
Reference in New Issue
Block a user