fixed 部署代码

This commit is contained in:
Vaica committed 2026-02-01 12:45:32 +08:00
1 parent db9d9b8ea3
commit 998da06c9a
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '22'
- name: Install Node.js dependencies
run: npm install
+3 -3
View File
@@ -105,7 +105,7 @@ window.initCodeFold = function() {
// Add Button
const btn = document.createElement('button');
btn.className = 'code-expand-btn';
btn.innerHTML = '<span><i class="ri-arrow-down-s-line" style="margin-right:4px;"></i> 展开代码 / Expand</span>';
btn.innerHTML = '<span><i class="ri-arrow-down-s-line" style="margin-right:4px;"></i> 展开代码 </span>';
btn.onclick = function() {
wrapper.classList.remove('collapsed');
// Hide button after expand, or change to collapse?
@@ -134,10 +134,10 @@ window.initCodeCopy = function() {
const btn = document.createElement('button');
btn.className = 'copy-code-btn';
btn.innerHTML = '<i class="ri-file-copy-line"></i>';
btn.title = "复制代码 / Copy Code";
btn.title = "复制代码";
btn.style.cssText = `
position: absolute;
top: 5px;
top: -6px;
right: 5px;
background: transparent;
border: none;