牌位設定列印

This commit is contained in:
2026-04-01 18:03:42 +08:00
parent 5f8da12363
commit 37d0b928ec
3 changed files with 108 additions and 71 deletions

View File

@@ -311,7 +311,7 @@
/*font-weight: bold;*/
white-space: nowrap;
line-height: 1.2;
font-family: 'Kaiti', serif;
font-family: ${style.fontFamily};
/* 確保名字本身不會佔據過多寬度導致間距看起來很大 */
width: fit-content;
}
@@ -543,7 +543,7 @@
x: el.startX, y: el.startY,
style: {
fontSize: el.fontSize,
fontFamily: "Kaiti",
fontFamily: el.fontFamily,
isVertical: true,
letterSpacing: 5, lineHeight: 1.5,
visibility: el.isActive,
@@ -717,7 +717,7 @@
height: `${el.height}px`,
border: "0px solid #ccc",
padding: "1px",
"font-family": "BiauKai",
"font-family": el.fontFamily,
"letter-spacing": "0.1em",
"column-gap": "1px",
"row-gap": "1px",

View File

@@ -16,6 +16,17 @@
/* 紙張保持米黃,因為它是實物模擬 */
}
/*.yangshang-wrapper {
display: flex !important;
flex-direction: row !important;*/ /* 垂直堆疊 */
/*justify-content: space-between !important;*/ /* 陽上與拜薦各據頂底 */
/*align-items: center !important;*/ /* 水平方向置中 */
/*height: 100% !important;
width: 100% !important;
writing-mode: vertical-rl !important;*/ /* 確保內部文字均為垂直書寫 */
/*text-orientation: upright !important;*/ /* 確保文字方向轉正 */
/*gap: 1px;
}*/
.designer-root {
/* 防止瀏覽器預設捲動影響畫布 */