Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

💄 Update styles for desktop poll (#1144)

Luke Vella8fa197e5a241
diff --git a/apps/web/src/components/poll/desktop-poll.tsx b/apps/web/src/components/poll/desktop-poll.tsx
index bf7c5685c..380f20f37 100644
--- a/apps/web/src/components/poll/desktop-poll.tsx
+++ b/apps/web/src/components/poll/desktop-poll.tsx
@@ -272,7 +272,7 @@ const DesktopPoll: React.FunctionComponent = () => {
"scrollbar-thin hover:scrollbar-thumb-gray-400 scrollbar-thumb-gray-300 scrollbar-track-gray-100 relative z-10 flex-grow overflow-auto scroll-smooth",
)}
>
- <table className="w-full table-auto border-separate border-spacing-0 ">
+ <table className="w-full table-auto border-separate border-spacing-0 bg-gray-50 ">
<thead>
<PollHeader />
</thead>
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.tsx
index e2b3addd4..f67eb4b38 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
@@ -128,7 +128,7 @@ const ParticipantRowForm = ({
</td>
);
})}
- <td className="border-l bg-gray-100" />
+ <td className="bg-diagonal-lines border-l" />
</tr>
);
};
diff --git a/apps/web/src/components/poll/desktop-poll/poll-header.tsx b/apps/web/src/components/poll/desktop-poll/poll-header.tsx
index d2e7088aa..f6b15ecc1 100644
--- a/apps/web/src/components/poll/desktop-poll/poll-header.tsx
+++ b/apps/web/src/components/poll/desktop-poll/poll-header.tsx
@@ -52,7 +52,7 @@ const TimelineRow = ({
className="sticky left-0 z-30 bg-white pl-4 pr-4"
></th>
{children}
- <th className="bg-diagonal-lines -ml-4 w-full min-w-4 border-l" />
+ <th className="w-full min-w-4 border-l"></th>
</tr>
);
};
diff --git a/apps/web/src/style.css b/apps/web/src/style.css
index 9f014ac16..58087fbf2 100644
--- a/apps/web/src/style.css
+++ b/apps/web/src/style.css
@@ -149,7 +149,7 @@
}
.bg-diagonal-lines {
- background-color: #f3f4f6;
+ background-color: #f9fafb;
background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='0' y1='0' x2='100%' y2='100%' stroke='%23e5e7eb' stroke-width='1'/%3E%3C/svg%3E");
background-repeat: repeat-y;
}