Skip to content

Scheduling infrastructure for absolutely everyone.

fixed FAB (#19469)

Peer Richelsen97348e2052dd
diff --git a/packages/ui/components/button/Button.tsx b/packages/ui/components/button/Button.tsx
index c8cb4dc30cb..f9de090fa3c 100644
--- a/packages/ui/components/button/Button.tsx
+++ b/packages/ui/components/button/Button.tsx
@@ -46,7 +46,7 @@ export const buttonClasses = cva(
variant: {
button: "",
icon: "flex justify-center",
- fab: "rounded-full justify-center md:rounded-[10px] radix-state-open:rotate-45 md:radix-state-open:rotate-0 radix-state-open:shadown-none radix-state-open:ring-0",
+ fab: "min-w-14 min-h-14 md:min-w-min md:min-h-min rounded-full justify-center md:rounded-[10px] radix-state-open:rotate-45 md:radix-state-open:rotate-0 radix-state-open:shadown-none radix-state-open:ring-0",
},
color: {
primary: [
@@ -206,7 +206,7 @@ export const buttonClasses = cva(
{
variant: "fab",
size: "base",
- className: "min-h-14 md:min-h-9 md:min-w-auto md:px-4 md:py-2.5",
+ className: "md:px-4 md:py-2.5",
},
],
defaultVariants: {