diff --git a/packages/orbit-components/src/primitives/ButtonPrimitive/index.tsx b/packages/orbit-components/src/primitives/ButtonPrimitive/index.tsx index a9b6177ecd..eaf89023ab 100644 --- a/packages/orbit-components/src/primitives/ButtonPrimitive/index.tsx +++ b/packages/orbit-components/src/primitives/ButtonPrimitive/index.tsx @@ -76,6 +76,7 @@ const ButtonPrimitive = React.forwardRef*]:align-middle [&_.orbit-loading-spinner]:stroke-[currentColor]", + "orbit-button-primitive font-base duration-fast group relative max-w-full items-center justify-center border-none text-center leading-none transition-all [&>*]:align-middle [&_.orbit-loading-spinner]:stroke-[currentColor]", fullWidth && "w-full", - centered || children == null - ? "justify-center" - : "[justify-content:var(--button-content-align)]", circled !== true && "rounded-large tb:rounded-normal", isDisabled ? "cursor-not-allowed opacity-30" @@ -178,6 +177,7 @@ const ButtonPrimitive = React.forwardRef