优化transform

hn2.0
fanluyan 2 years ago
parent bf615e6a87
commit 04cfdb716f

@ -97,9 +97,16 @@ export default {
</script> </script>
<style lang="less"> <style lang="less">
.showDialogHistoryPic { .showDialogHistoryPic {
display: flex;
align-items: center;
justify-content: center;
.el-dialog { .el-dialog {
width: 70% !important; width: 70% !important;
height: 90%; height: 90%;
transform: none;
margin: auto;
left: auto;
top: auto;
} }
.el-dialog__body { .el-dialog__body {
height: calc(100% - 70px); height: calc(100% - 70px);

@ -537,10 +537,19 @@ export default {
} }
} }
.showDialogHistoryPic { .showDialogHistoryPic {
display: flex;
align-items: center;
justify-content: center;
.el-dialog { .el-dialog {
width: 70% !important; width: 70% !important;
height: 90%; height: 90%;
transform: none;
margin: auto;
left: auto;
top: auto;
} }
.el-dialog__body { .el-dialog__body {
height: calc(100% - 70px); height: calc(100% - 70px);
.title { .title {

Loading…
Cancel
Save