Merge pull request 'fix : 修复年docx文件预览框溢出bug' (#856) from dj into master

Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/856
This commit is contained in:
2024-10-23 14:56:28 +00:00
2 changed files with 22 additions and 5 deletions

View File

@@ -55,19 +55,36 @@ previewFile()
</script>
<style lang="scss">
.docx-preview {
overflow: auto;
height: 650px !important;
&::-webkit-scrollbar {
width: 6px;
height: 6px;
}
// 滚动条轨道
&::-webkit-scrollbar-track {
background: rgb(239, 239, 239);
border-radius: 2px;
}
// 小滑块
&::-webkit-scrollbar-thumb {
background: rgba(80, 81, 82, 0.29);
border-radius: 10px;
}
.docx-wrapper > section.docx {
margin-bottom: 0 !important;
}
.docx-wrapper {
height: 650px !important;
padding: 10px !important;
.docx {
width: 100% !important;
min-height: 600px !important;
overflow: scroll !important;
padding: 70pt 20pt 0 20pt !important;
min-height: 100vh !important;
overflow: auto !important;
//padding: 70pt 20pt 0 20pt !important;
table {
width: 100% !important;

View File

@@ -24,7 +24,7 @@ const props = defineProps({
<style lang="scss">
#vuePdfApp {
width: auto !important;
height: 750px !important;
height: 650px !important;
}
#viewerContainer {