Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #1219: extension animations #38

Merged
merged 2 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/extension/src/routes/popup/approval/origin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const OriginApproval = () => {
)}
</div>
</div>
<div className='z-30 flex min-h-11 w-full items-center overflow-x-scroll rounded-lg bg-background p-2 text-muted-foreground [scrollbar-color:red_red]'>
<div className='z-30 flex min-h-11 w-full items-center overflow-x-auto rounded-lg bg-background p-2 text-muted-foreground'>
<div className='mx-auto items-center p-2 text-center leading-[0.8em]'>
<DisplayOriginURL url={new URL(requestOrigin)} />
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const DisplayOriginURL = ({ url: { protocol, hostname, port } }: { url: URL }) => (
<span className='font-mono'>
<span className='whitespace-nowrap font-mono'>
<span className='inline-block tracking-[-0.11em] brightness-90 saturate-50'>
{protocol.split(':')[0]}
<span className='tracking-[-0.21em]'>{':/'}</span>
Expand Down
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
Loading