Skip to content

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

💄 Change max-height for table

Luke Vellaa4f927e963b3
diff --git a/apps/web/src/components/poll/desktop-poll.tsx b/apps/web/src/components/poll/desktop-poll.tsx
index 4a6d36393..6d30b6083 100644
--- a/apps/web/src/components/poll/desktop-poll.tsx
+++ b/apps/web/src/components/poll/desktop-poll.tsx
@@ -240,7 +240,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 flex-grow overflow-auto scroll-smooth pb-3 pr-3",
- expanded ? "" : "max-h-[600px]",
+ expanded ? "" : "max-h-[calc(75vh)]",
)}
>
<table className="w-full table-auto border-separate border-spacing-0 ">