.view { //position: fixed; //padding: 0; //height: 100vh; //overflow: auto; position: relative; display: flex; justify-content: center; width:100%; z-index: 0; background-color: #515558; padding-top: 30px; } .pageContainer { box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 0px 0px; width:max-content; max-width:100%; //height: calc(100vh - 18px); overflow-y: hidden; overflow-x: hidden; } .pageTool{ width: 100%; position: absolute; top: 0px; background: rgb(67, 67, 67); color: white; padding: 0px; border-radius: 0px; display: flex; align-items: center; i{ padding: 5px; margin:0 5px; &:hover{ background: #333; } } input{ display: inline-block; width: 25px; text-align: center; margin-right: 0px; height: 12px; font-size: 1rem!important; } input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { -webkit-appearance: none; } input[type="number"]{ -moz-appearance: textfield; } .numPages{ text-align: center; height: 100%; align-items: center; justify-content: center; width: 4%; font-size: 1rem; } .left{ display: flex; text-align: center; height: 100%; align-items: center; justify-content: center; width: 25%; } .right{ display: flex; text-align: center; height: 100%; align-items: center; justify-content: center; width: 25%; } } :global{ .pdfClose{ position: absolute; right: 2%; top:3%; z-index: 3001; } .demo-preview-item{ .am-list-item.am-input-item{ height: 36px!important; min-height: 36px!important; padding-left: 5px; } .am-list-item .am-list-line{ padding-right: 2px; } } /* 前端控制打印预览inputItem */ .printStyle{ .am-list-item.am-input-item{ height: 30px!important; min-height: 30px!important; padding-left: 5px; } .am-list-item .am-list-line{ padding-right: 2px; } } }