From 642ece72272545ba4d59c4828e8f0ea7d65e8ebf Mon Sep 17 00:00:00 2001 From: jiannibang <271381693@qq.com> Date: Fri, 18 Nov 2022 16:51:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20544=20=E5=BA=97=E9=93=BA=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E5=A4=A7=E4=BA=8E7=E4=B8=AA=E5=AD=90=E4=BB=A5?= =?UTF-8?q?=E4=B8=8A=E6=9C=AA=E5=81=9A=E7=9C=81=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 ++ src/components/Popup/Popup.scss | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/package.json b/package.json index 651ca7e..2566f28 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,9 @@ "apollo-link-http": "^1.5.17", "axios": "^0.21.1", "graphql": "^15.5.0", + "html5-qrcode": "^2.3.0", "node-sass": "^5.0.0", + "qrcodejs2": "^0.0.2", "react": "^17.0.1", "react-dom": "^17.0.1", "react-infinite-scroller": "^1.2.4", diff --git a/src/components/Popup/Popup.scss b/src/components/Popup/Popup.scss index 3d9ddb9..3253f05 100644 --- a/src/components/Popup/Popup.scss +++ b/src/components/Popup/Popup.scss @@ -60,6 +60,10 @@ color: #323337; margin-top: 10px; margin-bottom: 10px; + width: calc(100vw - 187px); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .popupdesc {