perf: 优化UI

This commit is contained in:
zxc 2024-09-07 11:00:18 +08:00
parent b5b9e1d5ec
commit 5efe0690d8
4 changed files with 10 additions and 5 deletions

View File

@ -360,7 +360,7 @@ provide(injectKeySlideScale, canvasScale)
} }
.viewport-wrapper { .viewport-wrapper {
position: absolute; position: absolute;
box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.01), 0 0 12px 0 rgba(0, 0, 0, 0.1);
} }
.viewport { .viewport {
position: absolute; position: absolute;

View File

@ -290,7 +290,7 @@ const toggleNotesPanel = () => {
} }
} }
.handler-item { .handler-item {
height: 24px; height: 30px;
font-size: 14px; font-size: 14px;
margin: 0 2px; margin: 0 2px;
display: flex; display: flex;

View File

@ -182,7 +182,7 @@ const setDialogForExport = (type: DialogForExportTypes) => {
} }
} }
.title { .title {
height: 32px; height: 30px;
margin-left: 2px; margin-left: 2px;
font-size: 13px; font-size: 13px;
@ -191,11 +191,16 @@ const setDialogForExport = (type: DialogForExportTypes) => {
height: 100%; height: 100%;
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
::v-deep(input) {
height: 28px;
line-height: 28px;
}
} }
.title-text { .title-text {
min-width: 20px; min-width: 20px;
max-width: 400px; max-width: 400px;
line-height: 32px; line-height: 30px;
padding: 0 6px; padding: 0 6px;
border-radius: $borderRadius; border-radius: $borderRadius;
cursor: pointer; cursor: pointer;

View File

@ -136,7 +136,7 @@ const handleClickBlankArea = () => {
} }
.viewport-wrapper { .viewport-wrapper {
position: relative; position: relative;
box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.01), 0 0 12px 0 rgba(0, 0, 0, 0.1);
} }
.background { .background {
width: 100%; width: 100%;