模板样式

This commit is contained in:
Flow 2025-04-26 18:27:05 +08:00
parent 40bb0c805a
commit 75f4478187

View File

@ -18,8 +18,8 @@
border-radius: 4px; border-radius: 4px;
overflow-y: auto; overflow-y: auto;
white-space: pre-line; white-space: pre-line;
line-height: 3; line-height: 2;
font-size: 16px; font-size: 14px;
text-align: left; text-align: left;
} }
@ -687,8 +687,8 @@
margin-left: 20px !important; margin-left: 20px !important;
margin-right: 20px !important; margin-right: 20px !important;
width: calc(100% - 140px) !important; /* 调整内容区域宽度 */ width: calc(100% - 140px) !important; /* 调整内容区域宽度 */
font-size: 16px !important; font-size: 14px !important;
line-height: 3 !important; line-height: 2 !important;
border: none !important; border: none !important;
} }
/* 心电图内容区域和图片样式 */ /* 心电图内容区域和图片样式 */
@ -1719,7 +1719,7 @@
document.body.appendChild(testElement); document.body.appendChild(testElement);
// 获取第一页汇总内容区域的可用高度 (调整这个值根据实际布局) // 获取第一页汇总内容区域的可用高度 (调整这个值根据实际布局)
const availableHeight = 700; // 大约可用高度,根据实际情况调整 const availableHeight = 750; // 大约可用高度,根据实际情况调整
if (testElement.offsetHeight <= availableHeight) { if (testElement.offsetHeight <= availableHeight) {
// 内容不超过一页,隐藏第二页 // 内容不超过一页,隐藏第二页