Skip to content

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

🎨 Fix event card styles

Luke Vella0da3d54257a2
diff --git a/apps/web/src/components/event-card.tsx b/apps/web/src/components/event-card.tsx
index 67cee8f2e..6008a4a3a 100644
--- a/apps/web/src/components/event-card.tsx
+++ b/apps/web/src/components/event-card.tsx
@@ -26,7 +26,7 @@ export function EventCard() {
{poll.title}
</CardTitle>
<CardDescription>
- <span className="flex items-center gap-1 text-sm text-gray-500">
+ <span className="flex items-center gap-0.5 whitespace-nowrap text-sm text-gray-500">
<span>
<Trans
i18nKey="createdBy"
@@ -58,14 +58,12 @@ export function EventCard() {
</p>
) : null}
{poll.location ? (
- <ul className="text-muted-foreground mt-4 flex flex-col gap-x-4 gap-y-2.5 whitespace-nowrap text-sm">
- <li className="flex items-center gap-x-2.5">
- <Icon>
- <MapPinIcon />
- </Icon>
- <TruncatedLinkify>{poll.location}</TruncatedLinkify>
- </li>
- </ul>
+ <p className="text-muted-foregroun mt-4 text-sm">
+ <Icon>
+ <MapPinIcon className="-mt-0.5 mr-2 inline-block" />
+ </Icon>
+ <TruncatedLinkify>{poll.location}</TruncatedLinkify>
+ </p>
) : null}
</CardContent>
</Card>