pdf 优化
This commit is contained in:
parent
0db26d2459
commit
9b3bd20865
|
|
@ -1350,13 +1350,13 @@ export default {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 24px;
|
padding: 24px;
|
||||||
// background: linear-gradient(180deg, #eef3ff 0%, #ffffff 100%);
|
|
||||||
background: #eaeaea;
|
background: #eaeaea;
|
||||||
position: relative;
|
position: relative;
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
overscroll-behavior: contain;
|
overscroll-behavior: contain;
|
||||||
scrollbar-gutter: stable both-edges;
|
scrollbar-gutter: stable both-edges;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pdf-page {
|
.pdf-page {
|
||||||
|
|
@ -1368,6 +1368,7 @@ export default {
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
display: block;
|
display: block;
|
||||||
will-change: transform, opacity;
|
will-change: transform, opacity;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pdf-page:first-of-type::before,
|
.pdf-page:first-of-type::before,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue