refactor(文书纸): 统一 A4 纸规格并收敛各渲染场景的纸宽与页边距
This commit is contained in:
@@ -996,15 +996,10 @@ function requestClose() {
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
/* 纸的比例与页边距由 DocumentPaper 的 .doc-paper--a4 给(统一 A4 规格,
|
||||
见 utils/document-paper.ts),这里只留「桌子」和纸的观感 —— 别再写 max-width/padding,
|
||||
写了就会和 A4 规格打架(% 页边距以包含块宽度为基准,纸一被收窄就算错)。 */
|
||||
.preview-paper {
|
||||
max-width: 820px;
|
||||
min-height: 460px;
|
||||
padding: 34px 44px;
|
||||
margin: 0 auto;
|
||||
color: #1c2b33;
|
||||
font-size: 13.5px;
|
||||
line-height: 1.9;
|
||||
background: #fff;
|
||||
border-radius: var(--r);
|
||||
box-shadow: var(--sh);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user