From 7132bf77b72b61f513f345045696d82c326f0537 Mon Sep 17 00:00:00 2001 From: pipipi-pikachu Date: Thu, 5 Oct 2023 21:11:15 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Editor/EditorHeader/index.vue | 7 +++---- src/views/Editor/Thumbnails/LayoutPool.vue | 4 ++++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/Editor/EditorHeader/index.vue b/src/views/Editor/EditorHeader/index.vue index 57bf12d6..29699dd4 100644 --- a/src/views/Editor/EditorHeader/index.vue +++ b/src/views/Editor/EditorHeader/index.vue @@ -181,15 +181,14 @@ const setDialogForExport = (type: DialogForExportTypes) => { .title-input { width: 200px; height: 100%; - padding-left: 5px; - padding-right: 5px; - font-family: 'Microsoft YaHei'; + padding-left: 0; + padding-right: 0; } .title-text { min-width: 20px; max-width: 400px; line-height: 32px; - padding: 0 8px; + padding: 0 6px; border-radius: $borderRadius; cursor: pointer; diff --git a/src/views/Editor/Thumbnails/LayoutPool.vue b/src/views/Editor/Thumbnails/LayoutPool.vue index c18600e0..9f797859 100644 --- a/src/views/Editor/Thumbnails/LayoutPool.vue +++ b/src/views/Editor/Thumbnails/LayoutPool.vue @@ -43,6 +43,10 @@ const selectSlideTemplate = (slide: Slide) => { .layout-item { @include flex-grid-layout-children(2, 48%); + &:nth-last-child(2), &:last-child { + margin-bottom: 0; + } + .thumbnail { outline: 1px solid $borderColor; cursor: pointer;