Skip to content

Commit

Permalink
fix(extension): #1219: fix animations
Browse files Browse the repository at this point in the history
  • Loading branch information
VanishMax committed Jun 17, 2024
1 parent 2312c87 commit c37f592
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/ui/components/ui/box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const variants = cva('rounded-lg border bg-background', {
error: 'border-red',
},
overflow: {
hidden: 'overflow-hidden',
xHidden: 'overflow-x-hidden',
},
},
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/components/ui/tx/view/viewbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const ViewBox = ({ label, visibleContent, isOpaque }: ViewBoxProps) => {
// if isOpaque is undefined, set it to !visibleContent
isOpaque = isOpaque ?? !visibleContent;
return (
<Box overflow='xHidden'>
<Box overflow='hidden'>
<div
className={cn(
'flex flex-col gap-1 break-all overflow-hidden',
Expand Down

0 comments on commit c37f592

Please sign in to comment.