💄 Change max-height for table

This commit is contained in:
Luke Vella 2023-08-29 17:48:29 +01:00
parent 50cc7d0bc4
commit a4f927e963

View file

@ -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 ">