diff --git a/src/components/filePreview/DocxPreview.vue b/src/components/filePreview/DocxPreview.vue index 19b5393..9680664 100644 --- a/src/components/filePreview/DocxPreview.vue +++ b/src/components/filePreview/DocxPreview.vue @@ -64,13 +64,18 @@ previewFile() padding: 10px !important; .docx { - width: auto !important; + width: 100% !important; min-height: 600px !important; - overflow-y: scroll; - padding: 20px !important; + overflow: scroll !important; + padding: 70pt 20pt 0 20pt !important; + + table { + width: 100% !important; + } &::-webkit-scrollbar { width: 6px; + height: 6px; } // 滚动条轨道