update at 2025-10-08 19:45:28

This commit is contained in:
douboer
2025-10-08 19:45:28 +08:00
parent 5d32c0f5e7
commit 3460669602
20 changed files with 3325 additions and 101 deletions

View File

@@ -12,12 +12,34 @@
flex-direction: column;
}
/* 预览内部平台容器需要可伸缩: */
.wechat-preview-container, .xiaohongshu-preview-container {
flex: 1;
display: flex;
flex-direction: column;
min-height: 0; /* 允许内部滚动区域正确计算高度 */
}
.render-div {
flex: 1;
overflow-y: auto;
padding: 10px;
-webkit-user-select: text;
user-select: text;
min-height: 0;
}
/* 文章包裹:模拟公众号编辑器阅读宽度 */
.wechat-article-wrapper {
max-width: 720px;
margin: 0 auto;
padding: 12px 18px 80px 18px; /* 底部留白方便滚动到底部操作 */
box-sizing: border-box;
}
/* 若内部 section.note-to-mp 主题没有撑开,确保文本可见基色 */
.wechat-article-wrapper .note-to-mp {
background: transparent;
}
.preview-toolbar {