Skip to content

Commit 9d02886

Browse files
committed
Fix for buttons going full width when they shouldn’t
1 parent 23d0ff4 commit 9d02886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/components/primitives/Buttons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export function ButtonContent(props: ButtonContentPropsType) {
144144
const textColorClassName = variation.textColor;
145145

146146
return (
147-
<div className={cn("flex", fullWidth ? "" : "text-xxs", btnClassName, className)}>
147+
<div className={cn("flex", fullWidth ? "" : "w-fit text-xxs", btnClassName, className)}>
148148
<div
149149
className={cn(
150150
textAlignLeft ? "text-left" : "justify-center",

0 commit comments

Comments
 (0)