Skip to content

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

🐛 Fix unwanted text wrapping

Luke Vella853b8286c966
diff --git a/apps/web/src/components/table.tsx b/apps/web/src/components/table.tsx
index df1abd8bc..341d088fb 100644
--- a/apps/web/src/components/table.tsx
+++ b/apps/web/src/components/table.tsx
@@ -76,7 +76,7 @@ export const Table = <TData extends Record<string, unknown>>(props: {
? header.getSize()
: undefined,
}}
- className="text-muted-foreground h-9 border-b px-2.5 text-left text-xs font-normal"
+ className="text-muted-foreground h-9 whitespace-nowrap border-b px-2.5 text-left text-xs font-normal"
>
{header.isPlaceholder
? null
diff --git a/packages/ui/src/badge.tsx b/packages/ui/src/badge.tsx
index fa1bcc40f..97e7f2db3 100644
--- a/packages/ui/src/badge.tsx
+++ b/packages/ui/src/badge.tsx
@@ -4,7 +4,7 @@ import * as React from "react";
import { cn } from "./lib/utils";
const badgeVariants = cva(
- "inline-flex group items-center rounded-full border justify-center text-sm font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
+ "inline-flex group whitespace-nowrap items-center rounded-full border justify-center text-sm font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
{
variants: {
variant: {