Skip to content

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

💄 Match event card response options to landing page styling (#2950)

Luke Vella2e7950356f65
diff --git a/apps/web/src/features/poll/components/event-card.tsx b/apps/web/src/features/poll/components/event-card.tsx
index 480439aef..6486f2069 100644
--- a/apps/web/src/features/poll/components/event-card.tsx
+++ b/apps/web/src/features/poll/components/event-card.tsx
@@ -20,7 +20,7 @@ function IconDescriptionList({
}: React.HTMLAttributes<HTMLDListElement>) {
return (
<dl
- className="flex flex-col gap-x-2 gap-y-1 text-muted-foreground text-xs sm:flex-row"
+ className="flex flex-wrap items-center gap-4 text-muted-foreground text-sm"
{...props}
>
{children}
@@ -36,7 +36,7 @@ function IconDescription({
label: React.ReactNode;
}) {
return (
- <div className="flex items-center gap-1">
+ <div className="flex items-center gap-1.5">
<dt>{icon}</dt>
<dd>{label}</dd>
</div>
@@ -83,7 +83,7 @@ export function EventCard() {
</EventMetaItem>
) : null}
</EventMetaList>
- <h2 className="mt-4 mb-2 font-medium text-sm">
+ <h2 className="mt-4 mb-1.5 font-medium text-sm">
<Trans i18nKey="responseOptions" defaults="Response options" />
</h2>
<IconDescriptionList aria-label="Response options">
diff --git a/packages/tailwind-config/shared-styles.css b/packages/tailwind-config/shared-styles.css
index cf7103ee5..7b685c85d 100644
--- a/packages/tailwind-config/shared-styles.css
+++ b/packages/tailwind-config/shared-styles.css
@@ -93,7 +93,7 @@
--accent-foreground: var(--color-gray-100);
--muted: var(--color-gray-800);
- --muted-foreground: var(--color-gray-400);
+ --muted-foreground: var(--color-gray-300);
--muted-border: var(--color-gray-700);
--popover: var(--color-gray-800);