perf: 优化UI

This commit is contained in:
zxc 2024-07-04 21:23:26 +08:00
parent b05eee29f8
commit 80141b93ec
3 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="基于 Vue3.x + TypeScript 的在线演示文稿(幻灯片)应用,还原了大部分 Office PowerPoint 常用功能实现在线PPT的编辑、演示。支持导出PPT文件。" /> <meta name="description" content="基于 Vue3.x + TypeScript 的在线演示文稿(幻灯片)应用,还原了大部分 Office PowerPoint 常用功能实现在线PPT的编辑、演示。支持导出PPT文件。" />
<meta name="keywords" content="ppt,powerpoint,office powerpoint,在线ppt,幻灯片,演示文稿,ppt在线制作,Vue3,TypeScript" /> <meta name="keywords" content="ppt,powerpoint,office powerpoint,在线ppt,幻灯片,演示文稿,ppt在线制作,Vue3,TypeScript" />
<title>PPTIST - 在线演示文稿</title> <title>PPTist - 在线演示文稿</title>
<style> <style>
.first-screen-loading { .first-screen-loading {

View File

@ -40,7 +40,7 @@ export const slides: Slide[] = [
width: 585, width: 585,
height: 188, height: 188,
lineHeight: 1.2, lineHeight: 1.2,
content: '<p><strong><span style=\'font-size: 112px\'>PPTIST</span></strong></p>', content: '<p><strong><span style=\'font-size: 112px\'>PPTist</span></strong></p>',
rotate: 0, rotate: 0,
defaultFontName: 'Microsoft Yahei', defaultFontName: 'Microsoft Yahei',
defaultColor: '#333' defaultColor: '#333'

View File

@ -44,13 +44,13 @@ const insertTemplate = (slide: Slide) => {
} }
.header { .header {
height: 40px; height: 40px;
margin: -10px -10px 8px -10px; margin: -10px -10px 10px;
padding: 10px 12px 0 12px; padding: 10px 12px 0;
background-color: $lightGray; background-color: $lightGray;
border-bottom: 1px solid $borderColor; border-bottom: 1px solid $borderColor;
} }
.list { .list {
height: calc(100% - 40px); height: calc(100% - 50px);
padding: 2px; padding: 2px;
margin-right: -10px; margin-right: -10px;
padding-right: 10px; padding-right: 10px;