Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
💄 Update desktop poll border
Luke Vella955751aa9bdb
diff --git a/apps/web/src/components/poll/desktop-poll.tsx b/apps/web/src/components/poll/desktop-poll.tsxindex 725d508e9..598dcdb60 100644--- a/apps/web/src/components/poll/desktop-poll.tsx+++ b/apps/web/src/components/poll/desktop-poll.tsx@@ -311,7 +311,7 @@ const DesktopPoll: React.FunctionComponent = () => {}}ref={scrollRef}className={cn(- "scrollbar-thin hover:scrollbar-thumb-gray-400 scrollbar-thumb-gray-300 scrollbar-track-gray-100 relative z-10 grow overflow-auto scroll-smooth",+ "scrollbar-thin hover:scrollbar-thumb-gray-400 scrollbar-thumb-gray-300 scrollbar-track-gray-100 relative z-10 max-h-[calc(100vh-200px)] grow overflow-auto scroll-smooth",)}><table className="w-full table-auto border-separate border-spacing-0 bg-muted/50">diff --git a/apps/web/src/components/poll/desktop-poll/participant-row-form.tsx b/apps/web/src/components/poll/desktop-poll/participant-row-form.tsxindex ccea20f95..00c857d1b 100644--- a/apps/web/src/components/poll/desktop-poll/participant-row-form.tsx+++ b/apps/web/src/components/poll/desktop-poll/participant-row-form.tsx@@ -105,7 +105,10 @@ const ParticipantRowForm = ({</td>{optionIds.map((optionId, i) => {return (- <td key={optionId} className="relative h-12 border-t border-l">+ <td+ key={optionId}+ className="relative h-12 border-b border-l group-[.last-row]:border-b-0"+ ><Controllercontrol={form.control}name={`votes.${i}`}diff --git a/apps/web/src/components/poll/desktop-poll/participant-row.tsx b/apps/web/src/components/poll/desktop-poll/participant-row.tsxindex b968b3e0e..68f47f5bf 100644--- a/apps/web/src/components/poll/desktop-poll/participant-row.tsx+++ b/apps/web/src/components/poll/desktop-poll/participant-row.tsx@@ -70,7 +70,9 @@ export const ParticipantRowView: React.FunctionComponent<{<td// biome-ignore lint/suspicious/noArrayIndexKey: Fix this laterkey={i}- className={cn("h-12 border-t border-l bg-background")}+ className={cn(+ "h-12 border-b border-l bg-background group-[.last-row]:border-b-0",+ )}><div className={cn("flex items-center justify-center")}><VoteIcon type={vote} />@@ -100,6 +102,7 @@ const ParticipantRow: React.FunctionComponent<ParticipantRowProps> = ({if (editMode) {return (<ParticipantRowForm+ className={className}name={participant.name}isYou={isYou}onCancel={() => onChangeEditMode?.(false)}diff --git a/apps/web/src/components/poll/desktop-poll/poll-header.tsx b/apps/web/src/components/poll/desktop-poll/poll-header.tsxindex 1af0596ad..3b71462a8 100644--- a/apps/web/src/components/poll/desktop-poll/poll-header.tsx+++ b/apps/web/src/components/poll/desktop-poll/poll-header.tsx@@ -141,7 +141,7 @@ const PollHeader: React.FunctionComponent = () => {<thkey={option.optionId}style={{ minWidth: 80, maxWidth: 90, top: scoreRowTop }}- className="sticky z-20 border-l bg-background pb-2.5 align-top"+ className="sticky z-20 border-b border-l bg-background pb-2.5 align-top"><div className="flex flex-col items-center gap-3">{option.type === "timeSlot" ? (