From e2ac71fbc53b7119ae87c5a3b08cdcf830b497e2 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 06 三月 2020 18:52:03 +0800 Subject: [PATCH] 2020-03-06 --- src/views/printTemplate/index.scss | 40 ++++++++++++++++++++++++++++++++++++---- 1 files changed, 36 insertions(+), 4 deletions(-) diff --git a/src/views/printTemplate/index.scss b/src/views/printTemplate/index.scss index a742905..3eb4643 100644 --- a/src/views/printTemplate/index.scss +++ b/src/views/printTemplate/index.scss @@ -1,7 +1,8 @@ .print-template { overflow-x: hidden; min-height: 100%; - padding: 48px 250px 0px 240px; + padding: 75px 250px 30px 240px; + text-align: center; .print-header-container { position: fixed; @@ -23,6 +24,7 @@ top: 47px; left: -1px; bottom: 0px; + text-align: left; .ant-card { height: 100%; .ant-card-head { @@ -38,11 +40,12 @@ } } .setting { - width: 250px; + width: 300px; position: fixed; top: 47px; right: -1px; bottom: 0px; + text-align: left; .ant-card { height: 100%; .ant-card-head { @@ -52,9 +55,38 @@ .ant-card-head-title { padding: 10px 0; } - .ant-card-body { - padding: 24px 12px; + .operation { + text-align: center; + .ant-btn { + height: 35px; + padding: 0px 35px; + } } + .ant-card-body { + overflow-y: auto; + height: calc(100% - 48px); + padding: 10px 12px 20px; + } + .ant-card-body::-webkit-scrollbar { + width: 7px; + } + .ant-card-body::-webkit-scrollbar-thumb { + border-radius: 5px; + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13); + background-color: #f90; + background-image: -webkit-linear-gradient(45deg,hsla(0,0%,100%,.2) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.2) 0,hsla(0,0%,100%,.2) 75%,transparent 0,transparent); + } + .ant-card-body::-webkit-scrollbar-track { + box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05); + border-radius: 3px; + border: 1px solid rgba(0, 0, 0, 0.07); + background: rgba(0, 0, 0, 0); + } + + } + .ant-form-item { + margin-bottom: 10px; } } + } \ No newline at end of file -- Gitblit v1.8.0