Skip to content
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
4 changes: 2 additions & 2 deletions packages/checkout/src/views/AddFunds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ export const AddFundsContentTransak = () => {

if (isLoadingTransakLink) {
return (
<div className="flex items-center justify-center w-full px-4 pb-4 h-full">
<div className="flex items-center justify-center w-full px-4 pb-4 h-[200px]">
<Spinner />
</div>
)
}

if (errorTransakLink) {
return (
<div className="flex items-center justify-center w-full px-4 pb-4 h-full">
<div className="flex items-center justify-center w-full px-4 pb-4 h-[200px]">
<Text color="text100">An error has occurred</Text>
</div>
)
Expand Down
13 changes: 10 additions & 3 deletions packages/connect/src/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,12 @@ export const styles = String.raw`
.h-24 {
height: calc(var(--spacing) * 24);
}
.h-200 {
height: calc(var(--spacing) * 200);
}
.h-400 {
height: calc(var(--spacing) * 400);
}
.h-\[1px\] {
height: 1px;
}
Expand All @@ -468,6 +474,9 @@ export const styles = String.raw`
.h-\[64px\] {
height: 64px;
}
.h-\[200px\] {
height: 200px;
}
.h-\[206px\] {
height: 206px;
}
Expand Down Expand Up @@ -2513,6 +2522,4 @@ export const styles = String.raw`
--tw-gradient-to-position: 100%;
}
}
}

`
}`