Skip to content

Commit b0c532c

Browse files
committed
Fix: added selected category section display
1 parent 827cfc7 commit b0c532c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/controls/select/seats/categorizer.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,9 @@ const Categorizer = ({ firstElement, selectedElementIds }) => {
8585
<PopoverClose
8686
key={section.id}
8787
className={twMerge(
88-
"flex gap-3 items-center py-2 px-4 text-base cursor-pointer hover:bg-gray-100 transition-all duration-medium",
89-
section.id === "0" && "justify-center border-b pb-2"
88+
"w-full flex gap-3 items-center py-2 px-4 text-base cursor-pointer hover:bg-gray-100 transition-all duration-medium",
89+
section.id === "0" && "justify-center border-b pb-2",
90+
section.id === category.section && "bg-blue-50 "
9091
)}
9192
{...{ [dataAttributes.section]: section.id }}
9293
{...{ [dataAttributes.category]: category.id }}

0 commit comments

Comments
 (0)