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:
@@ -55,19 +55,36 @@ previewFile()
|
|||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.docx-preview {
|
.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 {
|
.docx-wrapper > section.docx {
|
||||||
margin-bottom: 0 !important;
|
margin-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.docx-wrapper {
|
.docx-wrapper {
|
||||||
height: 650px !important;
|
|
||||||
padding: 10px !important;
|
padding: 10px !important;
|
||||||
|
|
||||||
.docx {
|
.docx {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
min-height: 600px !important;
|
min-height: 100vh !important;
|
||||||
overflow: scroll !important;
|
overflow: auto !important;
|
||||||
padding: 70pt 20pt 0 20pt !important;
|
//padding: 70pt 20pt 0 20pt !important;
|
||||||
|
|
||||||
table {
|
table {
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ const props = defineProps({
|
|||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
#vuePdfApp {
|
#vuePdfApp {
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
height: 750px !important;
|
height: 650px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#viewerContainer {
|
#viewerContainer {
|
||||||
|
|||||||
Reference in New Issue
Block a user