🐛 Fix unwanted text wrapping

This commit is contained in:
Luke Vella 2024-05-19 10:08:19 +08:00
parent 9dbfcc7855
commit 853b8286c9
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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: {