Skip to content

Scheduling infrastructure for absolutely everyone.

style: Fix text wrapping issue in button (#10725)

ABDERRAHMANI IDRISSI HAMZA3ca43ce3f352
diff --git a/packages/ui/components/button/Button.tsx b/packages/ui/components/button/Button.tsx
index f6b2aea2b28..75473ce2c48 100644
--- a/packages/ui/components/button/Button.tsx
+++ b/packages/ui/components/button/Button.tsx
@@ -36,7 +36,7 @@ export type ButtonProps = ButtonBaseProps &
);
export const buttonClasses = cva(
- "inline-flex items-center text-sm font-medium relative rounded-md transition-colors disabled:cursor-not-allowed",
+ "whitespace-nowrap inline-flex items-center text-sm font-medium relative rounded-md transition-colors disabled:cursor-not-allowed",
{
variants: {
variant: {