Skip to content

AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He

chore(examples): remove 15 duplicate _svg.pptx exports, optimize deploy trigger

hugohe388d627c8b723
diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml
index a866aa5d..d9935c95 100644
--- a/.github/workflows/deploy-pages.yml
+++ b/.github/workflows/deploy-pages.yml
@@ -4,10 +4,15 @@
name: Deploy to GitHub Pages
on:
- # 推送到 main 分支时触发
+ # 推送到 main 分支时,仅网页相关文件变更才触发
push:
branches: ["main"]
- # 允许手动触发
+ paths:
+ - 'index.html'
+ - 'viewer.html'
+ - 'examples/**'
+ - '.github/workflows/deploy-pages.yml'
+ # 允许手动触发(不受路径限制)
workflow_dispatch:
# 设置 GITHUB_TOKEN 权限
diff --git a/viewer.html b/viewer.html
index fd64ac90..38d15abc 100644
--- a/viewer.html
+++ b/viewer.html
@@ -229,8 +229,10 @@
}
.dropdown-menu {
- max-height: 400px;
+ max-height: min(70vh, 560px);
+ overflow-x: hidden;
overflow-y: auto;
+ overscroll-behavior: contain;
}
/* Expanded view for slide viewer */
@@ -311,7 +313,7 @@
<i class="fas fa-chevron-down text-gray-400"></i>
</button>
<div id="dropdownMenu"
- class="dropdown-menu hidden absolute top-full left-0 mt-2 w-80 bg-white rounded-xl shadow-xl border border-gray-100 overflow-hidden z-50">
+ class="dropdown-menu hidden absolute top-full left-0 mt-2 w-80 bg-white rounded-xl shadow-xl border border-gray-100 z-50">
<!-- Dropdown items will be generated by JavaScript -->
</div>
</div>