Skip to content

Commit

Permalink
Fix brokend rewards layout.
Browse files Browse the repository at this point in the history
I made a change in button to make it easier to get ellipsis when the
button width is small but I introduced a but because now there is an
extra div wrapping button children. The fix is easy (maybe not, this is
css) is just make that div full width
  • Loading branch information
andresgutgon committed Dec 11, 2024
1 parent 3d7d3c0 commit a814085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-ui/src/ds/atoms/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ const Button = forwardRef<HTMLButtonElement, ButtonProps>(function Button(
) : null}
{children ? (
<div
className={cn('flex flex-row items-center', {
className={cn('flex flex-row items-center w-full', {
'flex-grow flex-shrink truncate': ellipsis,
})}
>
Expand Down

0 comments on commit a814085

Please sign in to comment.