diff --git a/.changelog/2003.trivial.md b/.changelog/2003.trivial.md new file mode 100644 index 0000000000..fc22f54916 --- /dev/null +++ b/.changelog/2003.trivial.md @@ -0,0 +1 @@ +Change transaction layout to accommodate large numbers in extension diff --git a/src/app/components/Transaction/index.tsx b/src/app/components/Transaction/index.tsx index 74aa6249d2..f129f444ab 100644 --- a/src/app/components/Transaction/index.tsx +++ b/src/app/components/Transaction/index.tsx @@ -61,6 +61,7 @@ type TransactionDictionary = { const StyledCardBody = styled(CardBody)` flex-direction: row; + justify-content: space-between; @media only screen and (min-width: ${({ theme }) => // TODO: extend theme global breakpoints with more breakpoints or at least with 1024px. Requires Sidebar refactor and Grommet lib validation @@ -428,7 +429,7 @@ export function Transaction(props: TransactionProps) { - + {isMobile && ( @@ -443,7 +444,7 @@ export function Transaction(props: TransactionProps) { )} {!isMobile && ( - + {otherAddress ? ( @@ -483,8 +484,13 @@ export function Transaction(props: TransactionProps) { )} - - + + {(() => { switch (transaction.status) {