Skip to content

Commit

Permalink
[front] - refactor: remove z-index from AssistantBrowser styles (#8117)
Browse files Browse the repository at this point in the history
- Dropped z-index style from AssistantBrowser as preparation for popover implementation

Co-authored-by: Jules <[email protected]>
  • Loading branch information
JulesBelveze and Jules authored Oct 21, 2024
1 parent bfac2ee commit cc11b12
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions front/components/assistant/AssistantBrowser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,7 @@ export function AssistantBrowser({
)}

{displayedTab && (
// TODO(jules 2024/10/18): remove z-index when using popover instead of
// old DropdownMenu
<div className="relative z-20 grid w-full grid-cols-1 gap-2 px-4 md:grid-cols-3">
<div className="relative grid w-full grid-cols-1 gap-2 px-4 md:grid-cols-3">
{agentsByTab[displayedTab].map((agent) => (
<AssistantPreview
key={agent.sId}
Expand Down

0 comments on commit cc11b12

Please sign in to comment.