From f45960a7aa72dc070a77fa5c04fdd3645a9351f1 Mon Sep 17 00:00:00 2001 From: Tristan Yang Date: Thu, 3 Nov 2022 17:26:08 +0800 Subject: [PATCH] fix: avatar width --- package.json | 4 +-- src/routes/chat/GuestSessionList/styled.tsx | 1 + yarn.lock | 38 ++++++++++----------- 3 files changed, 22 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index 4009b791..8f9a491c 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "@emoji-mart/data": "^1.0.6", "@metamask/onboarding": "^1.0.1", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.8", - "@react-oauth/google": "^0.2.8", + "@react-oauth/google": "^0.4.0", "@reduxjs/toolkit": "^1.8.6", "@svgr/webpack": "^6.5.1", "@tippyjs/react": "^4.2.6", @@ -54,7 +54,7 @@ "react-pdf": "^5.7.2", "react-redux": "^8.0.4", "react-refresh": "0.14.0", - "react-router-dom": "^6.4.2", + "react-router-dom": "^6.4.3", "react-scripts": "^5.0.1", "react-string-replace": "^1.1.0", "react-syntax-highlighter": "^15.5.0", diff --git a/src/routes/chat/GuestSessionList/styled.tsx b/src/routes/chat/GuestSessionList/styled.tsx index 90b9abfd..715533ae 100644 --- a/src/routes/chat/GuestSessionList/styled.tsx +++ b/src/routes/chat/GuestSessionList/styled.tsx @@ -22,6 +22,7 @@ const Styled = styled.ul` background-color: #eee; border-radius: 50%; img { + max-width: unset; width: 40px; height: 40px; &.channel_default { diff --git a/yarn.lock b/yarn.lock index b282a19b..82a792b8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2574,10 +2574,10 @@ resolved "https://mirrors.cloud.tencent.com/npm/@react-hook%2fmerged-ref/-/merged-ref-1.3.2.tgz#919b387a5f79ed67f2578f2015ab7b7d337787d2" integrity sha512-cQ9Y8m4zlrw/qotReo33E+3Sy9FVqMZb5JwUlb3wj3IJJ1cNJtxcgfWF6rS2NZQrfBJ2nAnckUdPJjMyIJTNZg== -"@react-oauth/google@^0.2.8": - version "0.2.8" - resolved "https://mirrors.cloud.tencent.com/npm/@react-oauth%2fgoogle/-/google-0.2.8.tgz#68ebce792c6c5e4123c7485d1c60ae562a894924" - integrity sha512-W3sRcU6kSZMGUOk10Vy5kPZPzvsi7+UpM2MxnT6fMVp+whDMKCVope5R01gwRydK9OI+0rozAARCD2NgrbkV7w== +"@react-oauth/google@^0.4.0": + version "0.4.0" + resolved "https://mirrors.cloud.tencent.com/npm/@react-oauth%2fgoogle/-/google-0.4.0.tgz#ae4fe2724040bd11facdc53aad43a21e9f34b2c9" + integrity sha512-2QxxrKbXXH8bwHSefB56sBgsKs7Bq3Pvv8tVmGJuINGefECsssIUKidTDm5P55T4CV99sCX/GUfxs3l2Ntxo8Q== "@reduxjs/toolkit@^1.8.6": version "1.8.6" @@ -2589,10 +2589,10 @@ redux-thunk "^2.4.1" reselect "^4.1.5" -"@remix-run/router@1.0.2": - version "1.0.2" - resolved "https://mirrors.cloud.tencent.com/npm/@remix-run%2frouter/-/router-1.0.2.tgz#1c17eadb2fa77f80a796ad5ea9bf108e6993ef06" - integrity sha512-GRSOFhJzjGN+d4sKHTMSvNeUPoZiDHWmRnXfzaxrqe7dE/Nzlc8BiMSJdLDESZlndM7jIUrZ/F4yWqVYlI0rwQ== +"@remix-run/router@1.0.3": + version "1.0.3" + resolved "https://mirrors.cloud.tencent.com/npm/@remix-run%2frouter/-/router-1.0.3.tgz#953b88c20ea00d0eddaffdc1b115c08474aa295d" + integrity sha512-ceuyTSs7PZ/tQqi19YZNBc5X7kj1f8p+4DIyrcIYFY9h+hd1OKm4RqtiWldR9eGEvIiJfsqwM4BsuCtRIuEw6Q== "@rollup/plugin-babel@^5.2.0": version "5.3.1" @@ -10736,20 +10736,20 @@ react-refresh@^0.11.0: resolved "https://mirrors.cloud.tencent.com/npm/react-refresh/-/react-refresh-0.11.0.tgz#77198b944733f0f1f1a90e791de4541f9f074046" integrity sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A== -react-router-dom@^6.4.2: - version "6.4.2" - resolved "https://mirrors.cloud.tencent.com/npm/react-router-dom/-/react-router-dom-6.4.2.tgz#115b37d501d6d8ac870683694978c51c43e6c0d2" - integrity sha512-yM1kjoTkpfjgczPrcyWrp+OuQMyB1WleICiiGfstnQYo/S8hPEEnVjr/RdmlH6yKK4Tnj1UGXFSa7uwAtmDoLQ== +react-router-dom@^6.4.3: + version "6.4.3" + resolved "https://mirrors.cloud.tencent.com/npm/react-router-dom/-/react-router-dom-6.4.3.tgz#70093b5f65f85f1df9e5d4182eb7ff3a08299275" + integrity sha512-MiaYQU8CwVCaOfJdYvt84KQNjT78VF0TJrA17SIQgNHRvLnXDJO6qsFqq8F/zzB1BWZjCFIrQpu4QxcshitziQ== dependencies: - "@remix-run/router" "1.0.2" - react-router "6.4.2" + "@remix-run/router" "1.0.3" + react-router "6.4.3" -react-router@6.4.2: - version "6.4.2" - resolved "https://mirrors.cloud.tencent.com/npm/react-router/-/react-router-6.4.2.tgz#300628ee9ed81b8ef1597b5cb98b474efe9779b8" - integrity sha512-Rb0BAX9KHhVzT1OKhMvCDMw776aTYM0DtkxqUBP8dNBom3mPXlfNs76JNGK8wKJ1IZEY1+WGj+cvZxHVk/GiKw== +react-router@6.4.3: + version "6.4.3" + resolved "https://mirrors.cloud.tencent.com/npm/react-router/-/react-router-6.4.3.tgz#9ed3ee4d6e95889e9b075a5d63e29acc7def0d49" + integrity sha512-BT6DoGn6aV1FVP5yfODMOiieakp3z46P1Fk0RNzJMACzE7C339sFuHebfvWtnB4pzBvXXkHP2vscJzWRuUjTtA== dependencies: - "@remix-run/router" "1.0.2" + "@remix-run/router" "1.0.3" react-scripts@^5.0.1: version "5.0.1"