[RAG] PDF阅读模式改用pdfplumber(文本+表格提取,干净HTML);修复ck_mysql_config导入
This commit is contained in:
@@ -907,13 +907,6 @@ onMounted(async () => {
|
||||
flex: 1; overflow: auto; position: relative; padding: 0;
|
||||
.view-md {
|
||||
padding: 20px;
|
||||
// 覆盖 PyMuPDF get_text("html") 输出的固定宽度
|
||||
:deep(div) { max-width: 100% !important; }
|
||||
:deep(div[style*="width:"]) { width: auto !important; max-width: 100% !important; }
|
||||
:deep(.pdf-page) { max-width: 100% !important; }
|
||||
:deep(.pdf-page > div) { width: auto !important; max-width: 100% !important; }
|
||||
:deep(.pdf-preview) { max-width: 100% !important; }
|
||||
:deep(section) { max-width: 100% !important; }
|
||||
:deep(p) { font-size: 15px; line-height: 1.8rem; margin-block-start: 0; }
|
||||
:deep(.highlight) { background: #D0EAC8; }
|
||||
:deep(.note-flag) { width: 23px; height: 28px; line-height: 28px; display: inline-block; text-align: center; font-weight: bold; font-size: 10px; margin-left: 8px; cursor: pointer; background: url("@/assets/images/reading/note.png"); color: #004EA0; background-size: contain !important; background-repeat: no-repeat !important; background-position: center bottom !important; }
|
||||
|
||||
Reference in New Issue
Block a user