@@ -181,40 +181,40 @@ export function InvitationsView({
181181 value = { selectedTab }
182182 >
183183 { /* Tabs */ }
184- < div className = "border-b px-5 " >
185- < TabsList className = "h-10 w-full justify-start gap-2 bg-transparent p-0" >
184+ < div className = "border-b" >
185+ < TabsList className = "flex h-10 w-full bg-transparent p-0" >
186186 < TabsTrigger
187- className = "h-10 rounded-none border-transparent border-b-2 bg-transparent px-3 data-[state=active]:border-primary data-[state=active]:shadow-none"
187+ className = "flex flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-none border-transparent border-b-2 bg-transparent data-[state=active]:border-primary data-[state=active]:text-foreground data-[state=inactive]:text-muted-foreground data-[state=active]:shadow-none"
188188 value = "pending"
189189 >
190- < ClockIcon className = "mr-1 .5" size = { 14 } weight = "duotone" />
190+ < ClockIcon className = "size-3 .5" weight = "duotone" />
191191 Pending
192192 { pendingCount > 0 && (
193- < span className = "ml-1.5 rounded-full bg-amber-500/10 px-1.5 py-0.5 text-amber-600 text-xs" >
193+ < span className = "rounded-full bg-amber-500/10 px-1.5 py-0.5 text-amber-600 text-xs dark:text-amber-500 " >
194194 { pendingCount }
195195 </ span >
196196 ) }
197197 </ TabsTrigger >
198198 < TabsTrigger
199- className = "h-10 rounded-none border-transparent border-b-2 bg-transparent px-3 data-[state=active]:border-primary data-[state=active]:shadow-none"
199+ className = "flex flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-none border-transparent border-b-2 bg-transparent data-[state=active]:border-primary data-[state=active]:text-foreground data-[state=inactive]:text-muted-foreground data-[state=active]:shadow-none"
200200 value = "expired"
201201 >
202- < XIcon className = "mr-1 .5" size = { 14 } weight = "bold" />
202+ < XIcon className = "size-3 .5" weight = "bold" />
203203 Expired
204204 { expiredCount > 0 && (
205- < span className = "ml-1.5 rounded-full bg-muted px-1.5 py-0.5 text-muted-foreground text-xs" >
205+ < span className = "rounded-full bg-muted px-1.5 py-0.5 text-muted-foreground text-xs" >
206206 { expiredCount }
207207 </ span >
208208 ) }
209209 </ TabsTrigger >
210210 < TabsTrigger
211- className = "h-10 rounded-none border-transparent border-b-2 bg-transparent px-3 data-[state=active]:border-primary data-[state=active]:shadow-none"
211+ className = "flex flex-1 cursor-pointer items-center justify-center gap-1.5 rounded-none border-transparent border-b-2 bg-transparent data-[state=active]:border-primary data-[state=active]:text-foreground data-[state=inactive]:text-muted-foreground data-[state=active]:shadow-none"
212212 value = "accepted"
213213 >
214- < CheckIcon className = "mr-1 .5" size = { 14 } weight = "bold" />
214+ < CheckIcon className = "size-3 .5" weight = "bold" />
215215 Accepted
216216 { acceptedCount > 0 && (
217- < span className = "ml-1.5 rounded-full bg-green-500/10 px-1.5 py-0.5 text-green-600 text-xs" >
217+ < span className = "rounded-full bg-green-500/10 px-1.5 py-0.5 text-green-600 text-xs dark:text-green-500 " >
218218 { acceptedCount }
219219 </ span >
220220 ) }
0 commit comments