Skip to content

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

Allow description to fill width on smaller screens

Luke Vella8cd1db41dbd1
diff --git a/pages/poll.tsx b/pages/poll.tsx
index 6e3246d10..a0baa2e30 100644
--- a/pages/poll.tsx
+++ b/pages/poll.tsx
@@ -249,7 +249,7 @@ const PollPage: NextPage = () => {
</div>
</div>
{poll.description ? (
- <div className="mb-4 w-fit whitespace-pre-line bg-white px-4 py-3 text-lg leading-relaxed text-slate-600 shadow-sm md:rounded-xl md:bg-white">
+ <div className="mb-4 whitespace-pre-line bg-white px-4 py-3 text-lg leading-relaxed text-slate-600 shadow-sm md:w-fit md:rounded-xl md:bg-white">
<TruncatedLinkify>
{preventWidows(poll.description)}
</TruncatedLinkify>