fixed 部署代码

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

No files matched your search

+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;