From 3e84892a2816596a2f610c8065e8ff8fe5ed0c76 Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Mon, 24 Oct 2022 10:28:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=A8=E5=B0=8F=E5=B1=8F?= =?UTF-8?q?=E5=B9=95=E4=B8=8B=E4=BE=A7=E8=BE=B9=E6=A0=8F=E5=92=8C=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E6=A0=8F=E9=87=8D=E5=8F=A0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/Edit/components/Sidebar.vue | 2 +- web/src/pages/Edit/components/Toolbar.vue | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/web/src/pages/Edit/components/Sidebar.vue b/web/src/pages/Edit/components/Sidebar.vue index 196ee026..e753b4b4 100644 --- a/web/src/pages/Edit/components/Sidebar.vue +++ b/web/src/pages/Edit/components/Sidebar.vue @@ -51,7 +51,7 @@ export default { .sidebarContainer { position: fixed; right: -300px; - top: 100px; + top: 110px; bottom: 0; width: 300px; background-color: #fff; diff --git a/web/src/pages/Edit/components/Toolbar.vue b/web/src/pages/Edit/components/Toolbar.vue index 25696144..3a9dca74 100644 --- a/web/src/pages/Edit/components/Toolbar.vue +++ b/web/src/pages/Edit/components/Toolbar.vue @@ -430,6 +430,7 @@ export default { position: fixed; left: 0; top: 0; + right: 0; display: flex; padding: 0 20px; padding-top: 20px; @@ -438,6 +439,7 @@ export default { font-weight: 400; color: rgba(26, 26, 26, 0.8); z-index: 2; + overflow-x: auto; .toolbarBlock { display: flex; @@ -447,6 +449,7 @@ export default { box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.06); border: 1px solid rgba(0, 0, 0, 0.06); margin-right: 20px; + flex-shrink: 0; &:last-of-type { margin-right: 0;