From a89d85602f6f53203a58375887be3091fdc626c5 Mon Sep 17 00:00:00 2001 From: wuchao Date: Thu, 27 Mar 2025 11:38:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E6=81=A2=E5=A4=8D=E5=8E=9F=E6=9D=A5=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/layout_share/index.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/front/src/layout_share/index.vue b/front/src/layout_share/index.vue index a54d5972..70556aff 100644 --- a/front/src/layout_share/index.vue +++ b/front/src/layout_share/index.vue @@ -186,8 +186,6 @@ export default { height: 100%; width: 100%; display: flex; - justify-content: center; - align-items: center; &.mobile.openSidebar{ position: fixed; top: 0; @@ -215,10 +213,17 @@ export default { width: 100%; } .encrypt-form { + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); margin-top: 0; width: 600px; padding: 40px; box-sizing: border-box; + background: #fff; + border-radius: 4px; + box-shadow: 0 2px 12px 0 rgba(0,0,0,0.1); } .share-name { -- Gitee