Skip to content

Commit

Permalink
fixed whitespace in pending tx dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
ElizabethOgbee committed Jul 3, 2023
1 parent 00b9949 commit e8ff848
Show file tree
Hide file tree
Showing 5 changed files with 91 additions and 12 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@
"react-papaparse": "^4.0.2",
"react-qr-reader": "2.2.1",
"react-redux": "^8.0.5",
"semver": "^7.5.2"
"semver": "^7.5.2",
"walletconnect": "^1.7.8"
},
"devDependencies": {
"@next/bundle-analyzer": "^13.1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/components/dashboard/PendingTxs/PendingTxListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const PendingTx = ({ transaction }: PendingTxType): ReactElement => {
)}
</Box>

<Box gridArea="icon" marginLeft="12px">
<Box gridArea="icon" marginLeft="9px">
<ChevronRight color="border" />
</Box>
</Box>
Expand Down
11 changes: 8 additions & 3 deletions src/components/dashboard/PendingTxs/styles.module.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
.gridContainer {
width: 100%;
display: grid;
/* display: grid; */
display: flex;
justify-content: space-between;
/* align-items: start; */
align-items: flex-start;
flex-wrap: wrap;
grid-gap: 4px;
align-items: center;
padding: 8px 16px;
/* align-items: center; */
padding: 8px 18px;
background-color: var(--color-background-paper);
border: 1px solid var(--color-border-light);
border-radius: 8px;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
--color-logo-main: #121312;
--color-logo-background: #eeeff0;
--color-static-main: #121312;
--space-1: 8px;
--space-1: 9px;
--space-2: 16px;
--space-3: 24px;
--space-4: 32px;
Expand Down
85 changes: 79 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4445,7 +4445,7 @@
"@walletconnect/window-metadata" "1.0.0"
detect-browser "5.2.0"

"@walletconnect/client@^1.8.0":
"@walletconnect/client@^1.7.8", "@walletconnect/client@^1.8.0":
version "1.8.0"
resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696"
integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ==
Expand Down Expand Up @@ -4546,6 +4546,16 @@
"@walletconnect/time" "^1.0.2"
tslib "1.14.1"

"@walletconnect/http-connection@^1.8.0":
version "1.8.0"
resolved "https://registry.yarnpkg.com/@walletconnect/http-connection/-/http-connection-1.8.0.tgz#c19fff5c179d5180d8b974faef2621bd012adb4e"
integrity sha512-IziEr3c53qsMromK7jz0EkbKDHlryRbxXdFR+xaG+S5nfxtUdAfjzlZabvczXdDCgmTij6KbNsZAjBMqCBzACw==
dependencies:
"@walletconnect/types" "^1.8.0"
"@walletconnect/utils" "^1.8.0"
eventemitter3 "4.0.7"
xhr2-cookies "1.1.0"

"@walletconnect/iso-crypto@^1.8.0":
version "1.8.0"
resolved "https://registry.yarnpkg.com/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz#44ddf337c4f02837c062dbe33fa7ab36789df451"
Expand Down Expand Up @@ -4666,7 +4676,7 @@
"@walletconnect/modal-core" "2.5.5"
"@walletconnect/modal-ui" "2.5.5"

"@walletconnect/qrcode-modal@^1.8.0":
"@walletconnect/qrcode-modal@^1.7.8", "@walletconnect/qrcode-modal@^1.8.0":
version "1.8.0"
resolved "https://registry.yarnpkg.com/@walletconnect/qrcode-modal/-/qrcode-modal-1.8.0.tgz#ddd6f5c9b7ee52c16adf9aacec2a3eac4994caea"
integrity sha512-BueaFefaAi8mawE45eUtztg3ZFbsAH4DDXh1UNwdUlsvFMjqcYzLUG0xZvDd6z2eOpbgDg2N3bl6gF0KONj1dg==
Expand Down Expand Up @@ -4763,7 +4773,7 @@
"@walletconnect/logger" "^2.0.1"
events "^3.3.0"

"@walletconnect/types@^1.8.0":
"@walletconnect/types@^1.7.8", "@walletconnect/types@^1.8.0":
version "1.8.0"
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195"
integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg==
Expand Down Expand Up @@ -4803,7 +4813,7 @@
query-string "7.1.3"
uint8arrays "^3.1.0"

"@walletconnect/utils@^1.8.0":
"@walletconnect/utils@^1.7.8", "@walletconnect/utils@^1.8.0":
version "1.8.0"
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-1.8.0.tgz#2591a197c1fa7429941fe428876088fda6632060"
integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA==
Expand All @@ -4816,6 +4826,18 @@
js-sha3 "0.8.0"
query-string "6.13.5"

"@walletconnect/web3-provider@^1.7.8":
version "1.8.0"
resolved "https://registry.yarnpkg.com/@walletconnect/web3-provider/-/web3-provider-1.8.0.tgz#e90d903f4c609b7158ecb5f0f41df121e93b56b5"
integrity sha512-lqqEO0oRmCehH+c8ZPk3iH7I7YtbzmkWd58/Or2AgWAl869JamzndKCD3sTlNsPRQLxxPpraHQqzur7uclLWvg==
dependencies:
"@walletconnect/client" "^1.8.0"
"@walletconnect/http-connection" "^1.8.0"
"@walletconnect/qrcode-modal" "^1.8.0"
"@walletconnect/types" "^1.8.0"
"@walletconnect/utils" "^1.8.0"
web3-provider-engine "16.0.1"

"@walletconnect/[email protected]":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8"
Expand Down Expand Up @@ -6358,6 +6380,11 @@ [email protected]:
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b"
integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==

cookiejar@^2.1.1:
version "2.1.4"
resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.4.tgz#ee669c1fea2cf42dc31585469d193fef0d65771b"
integrity sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw==

copy-anything@^2.0.1:
version "2.0.6"
resolved "https://registry.yarnpkg.com/copy-anything/-/copy-anything-2.0.6.tgz#092454ea9584a7b7ad5573062b2a87f5900fc480"
Expand Down Expand Up @@ -7803,7 +7830,7 @@ ethereumjs-common@^1.1.0, ethereumjs-common@^1.5.0:
resolved "https://registry.yarnpkg.com/ethereumjs-common/-/ethereumjs-common-1.5.2.tgz#2065dbe9214e850f2e955a80e650cb6999066979"
integrity sha512-hTfZjwGX52GS2jcVO6E2sx4YuFnf0Fhp5ylo4pEPhEffNln7vS59Hr5sLnp3/QCazFLluuBZ+FZ6J5HTp0EqCA==

ethereumjs-tx@^1.2.2:
ethereumjs-tx@^1.2.0, ethereumjs-tx@^1.2.2:
version "1.3.7"
resolved "https://registry.yarnpkg.com/ethereumjs-tx/-/ethereumjs-tx-1.3.7.tgz#88323a2d875b10549b8347e09f4862b546f3d89a"
integrity sha512-wvLMxzt1RPhAQ9Yi3/HKZTn0FZYpnsmQdbKYfUUpi4j1SEIcbkd9tndVjcPrufY3V7j2IebOpC00Zp2P/Ay2kA==
Expand Down Expand Up @@ -8015,7 +8042,7 @@ [email protected]:
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.4.tgz#b5463ace635a083d018bdc7c917b4c5f10a85384"
integrity sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ==

eventemitter3@^4.0.7:
eventemitter3@4.0.7, eventemitter3@^4.0.7:
version "4.0.7"
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
Expand Down Expand Up @@ -13968,6 +13995,17 @@ walker@^1.0.8:
dependencies:
makeerror "1.0.12"

walletconnect@^1.7.8:
version "1.7.8"
resolved "https://registry.yarnpkg.com/walletconnect/-/walletconnect-1.7.8.tgz#8f59410d751fad22fe6f2d6875b0e361d4faa67f"
integrity sha512-etrZM6Nl3NVeWQw7I/DFciSuIk/8Rod9OQpL4DqApYEnTwCCi7tyTDvHyNEaQVUTIJxk4qB/WmuOuLv+i8GOCg==
dependencies:
"@walletconnect/client" "^1.7.8"
"@walletconnect/qrcode-modal" "^1.7.8"
"@walletconnect/types" "^1.7.8"
"@walletconnect/utils" "^1.7.8"
"@walletconnect/web3-provider" "^1.7.8"

warning@^4.0.3:
version "4.0.3"
resolved "https://registry.yarnpkg.com/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3"
Expand Down Expand Up @@ -14142,6 +14180,34 @@ [email protected]:
web3-core-method "1.8.1"
web3-utils "1.8.1"

[email protected]:
version "16.0.1"
resolved "https://registry.yarnpkg.com/web3-provider-engine/-/web3-provider-engine-16.0.1.tgz#2600a39ede364cdc0a1fc773bf40a94f2177e605"
integrity sha512-/Eglt2aocXMBiDj7Se/lyZnNDaHBaoJlaUfbP5HkLJQC/HlGbR+3/W+dINirlJDhh7b54DzgykqY7ksaU5QgTg==
dependencies:
async "^2.5.0"
backoff "^2.5.0"
clone "^2.0.0"
cross-fetch "^2.1.0"
eth-block-tracker "^4.4.2"
eth-json-rpc-filters "^4.2.1"
eth-json-rpc-infura "^5.1.0"
eth-json-rpc-middleware "^6.0.0"
eth-rpc-errors "^3.0.0"
eth-sig-util "^1.4.2"
ethereumjs-block "^1.2.2"
ethereumjs-tx "^1.2.0"
ethereumjs-util "^5.1.5"
ethereumjs-vm "^2.3.4"
json-stable-stringify "^1.0.1"
promise-to-callback "^1.0.0"
readable-stream "^2.2.9"
request "^2.85.0"
semaphore "^1.0.3"
ws "^5.1.1"
xhr "^2.2.0"
xtend "^4.0.1"

[email protected]:
version "16.0.3"
resolved "https://registry.yarnpkg.com/web3-provider-engine/-/web3-provider-engine-16.0.3.tgz#8ff93edf3a8da2f70d7f85c5116028c06a0d9f07"
Expand Down Expand Up @@ -14690,6 +14756,13 @@ xhr-request@^1.0.1, xhr-request@^1.1.0:
url-set-query "^1.0.0"
xhr "^2.0.4"

[email protected]:
version "1.1.0"
resolved "https://registry.yarnpkg.com/xhr2-cookies/-/xhr2-cookies-1.1.0.tgz#7d77449d0999197f155cb73b23df72505ed89d48"
integrity sha512-hjXUA6q+jl/bd8ADHcVfFsSPIf+tyLIjuO9TwJC9WI6JP2zKcS7C+p56I9kCLLsaCiNT035iYvEUUzdEFj/8+g==
dependencies:
cookiejar "^2.1.1"

xhr@^2.0.4, xhr@^2.2.0, xhr@^2.3.3:
version "2.6.0"
resolved "https://registry.yarnpkg.com/xhr/-/xhr-2.6.0.tgz#b69d4395e792b4173d6b7df077f0fc5e4e2b249d"
Expand Down

0 comments on commit e8ff848

Please sign in to comment.