Skip to content

Commit

Permalink
Fix: added selected category section display
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Mar 8, 2024
1 parent 827cfc7 commit b0c532c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/controls/select/seats/categorizer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ const Categorizer = ({ firstElement, selectedElementIds }) => {
<PopoverClose
key={section.id}
className={twMerge(
"flex gap-3 items-center py-2 px-4 text-base cursor-pointer hover:bg-gray-100 transition-all duration-medium",
section.id === "0" && "justify-center border-b pb-2"
"w-full flex gap-3 items-center py-2 px-4 text-base cursor-pointer hover:bg-gray-100 transition-all duration-medium",
section.id === "0" && "justify-center border-b pb-2",
section.id === category.section && "bg-blue-50 "
)}
{...{ [dataAttributes.section]: section.id }}
{...{ [dataAttributes.category]: category.id }}
Expand Down

0 comments on commit b0c532c

Please sign in to comment.