inputRef.current?.focus()}
+ >
+
+
+ {selectedParticipants.map((participant) => (
+
e.stopPropagation()}
+ >
+
+ {getInitials(participant.name)}
+
+
{participant.name.split(' ')[0]}
+ {!participant.icsLink && (
+
+ )}
+
+
+ ))}
+
{
setSearchQuery(e.target.value);
@@ -107,11 +142,11 @@ export const ParticipantSelector = ({
}}
onFocus={() => setIsDropdownOpen(true)}
onKeyDown={handleKeyDown}
- className="pl-10 h-12 bg-background border-border"
+ className="flex-1 min-w-[100px] h-7 border-none shadow-none focus-visible:ring-0 p-0 text-sm bg-transparent placeholder:text-muted-foreground/70"
/>
{isDropdownOpen && filteredParticipants.length > 0 && (
-
+
{filteredParticipants.map((participant, index) => (
-
- {selectedParticipants.length > 0 && (
-
- {selectedParticipants.map((participant, index) => (
-
-
- {getInitials(participant.name)}
-
-
{participant.name.split(' ')[0]}
- {!participant.icsLink && (
-
- )}
-
-
- ))}
-
-
- )}
);
};
--
2.49.1