Commit 170c0dbcfc9d54f80f3504ae10dd105d2f260c20
1 parent
9626b5e9
v3.7.0 自定义弹层溢出滚动样式
Showing
3 changed files
with
4 additions
and
4 deletions
yudao-ui-admin/src/assets/styles/ruoyi.scss
| ... | ... | @@ -64,7 +64,7 @@ |
| 64 | 64 | margin-top: 6vh !important; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | -.el-dialog .el-dialog__body { | |
| 67 | +.el-dialog__wrapper.scrollbar .el-dialog .el-dialog__body { | |
| 68 | 68 | overflow: auto; |
| 69 | 69 | overflow-x: hidden; |
| 70 | 70 | max-height: 70vh; |
| ... | ... | @@ -137,7 +137,7 @@ |
| 137 | 137 | /** 表格更多操作下拉样式 */ |
| 138 | 138 | .el-table .el-dropdown-link { |
| 139 | 139 | cursor: pointer; |
| 140 | - color: #1890ff; | |
| 140 | + color: #409EFF; | |
| 141 | 141 | margin-left: 5px; |
| 142 | 142 | } |
| 143 | 143 | ... | ... |
yudao-ui-admin/src/views/infra/job/index.vue
| ... | ... | @@ -115,7 +115,7 @@ |
| 115 | 115 | </div> |
| 116 | 116 | </el-dialog> |
| 117 | 117 | |
| 118 | - <el-dialog title="Cron表达式生成器" :visible.sync="openCron" > | |
| 118 | + <el-dialog title="Cron表达式生成器" :visible.sync="openCron" append-to-body class="scrollbar"> | |
| 119 | 119 | <crontab @hide="openCron=false" @fill="crontabFill" :expression="expression"></crontab> |
| 120 | 120 | </el-dialog> |
| 121 | 121 | ... | ... |
yudao-ui-admin/src/views/tool/codegen/index.vue
| ... | ... | @@ -59,7 +59,7 @@ |
| 59 | 59 | <pagination v-show="total>0" :total="total" :page.sync="queryParams.pageNo" :limit.sync="queryParams.pageSize" @pagination="getList"/> |
| 60 | 60 | |
| 61 | 61 | <!-- 预览界面 --> |
| 62 | - <el-dialog :title="preview.title" :visible.sync="preview.open" width="90%" top="5vh" append-to-body> | |
| 62 | + <el-dialog :title="preview.title" :visible.sync="preview.open" width="90%" top="5vh" append-to-body class="scrollbar"> | |
| 63 | 63 | <el-row> |
| 64 | 64 | <el-col :span="7"> |
| 65 | 65 | <el-tree :data="preview.fileTree" :expand-on-click-node="false" default-expand-all highlight-current | ... | ... |