Commit d53ba642 authored by Charles Bachmeier's avatar Charles Bachmeier Committed by GitHub

fix: reduce success image size (#5399)

* marketplace links

* drop down size of successful purchase image

* align unicorn with header
Co-authored-by: default avatarJackShort <john.short.tj@gmail.com>
Co-authored-by: default avatarCharles Bachmeier <charlie@genie.xyz>
parent 89ce5a98
......@@ -54,8 +54,8 @@ export const successModal = style([
export const uniLogo = style([
sprinkles({
position: 'absolute',
left: '32',
right: '40',
left: { sm: '12', md: '32' },
top: { sm: '16', md: '20' },
}),
])
......
......@@ -54,7 +54,7 @@ export const parseTransactionResponse = (transactionResponse: TxResponse | undef
export const getSuccessfulImageSize = (numSuccessful: number, isMobile: boolean) => {
const sizeModifier = isMobile ? 2 : 1
if (numSuccessful === 1) {
return 574 / sizeModifier
return 474 / sizeModifier
} else if (numSuccessful === 2) {
return 280 / sizeModifier
} else if (numSuccessful === 3 || (numSuccessful >= 5 && numSuccessful < 7)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment