mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-07-09 02:52:48 +08:00
feat(phone-image): table-to-image conversion with beautified CSS styles
This commit is contained in:
@@ -563,6 +563,13 @@
|
||||
Content Flow Code Blocks (中间栏代码块样式)
|
||||
仅用于编辑区中间栏, 不影响渲染页面
|
||||
============================================ */
|
||||
|
||||
/* 表格美化样式(html2canvas兼容) */
|
||||
.page-content table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13px; }
|
||||
.page-content th { background-color: #f0f0f0; font-weight: bold; padding: 8px 10px; border: 1px solid #ddd; text-align: left; }
|
||||
.page-content td { padding: 8px 10px; border: 1px solid #ddd; }
|
||||
.page-content tr:nth-child(even) td { background-color: #f9f9f9; }
|
||||
|
||||
.content-flow pre {
|
||||
background: #f5f5f5;
|
||||
border: 1px solid #e0e0e0;
|
||||
|
||||
Reference in New Issue
Block a user