From 4fc7eb084ecd9f505adbb0f7f145357b37143917 Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Sat, 1 Apr 2023 08:26:53 +0800 Subject: [PATCH] =?UTF-8?q?demo:=E4=BC=98=E5=8C=96=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E6=A0=8F=E7=9A=84=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/Edit/components/Toolbar.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/src/pages/Edit/components/Toolbar.vue b/web/src/pages/Edit/components/Toolbar.vue index e64e1c02..305c41e5 100644 --- a/web/src/pages/Edit/components/Toolbar.vue +++ b/web/src/pages/Edit/components/Toolbar.vue @@ -449,12 +449,12 @@ export default { .toolbarContainer { .toolbar { position: fixed; - left: 0; - top: 0; - right: 0; + left: 50%; + transform: translateX(-50%); + top: 20px; + width: max-content; + max-width: 100%; display: flex; - padding: 0 20px; - padding-top: 20px; font-size: 12px; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400;