diff --git a/src/views/modules/todo/todoCenter.vue b/src/views/modules/todo/todoCenter.vue index 1119834..2623cef 100644 --- a/src/views/modules/todo/todoCenter.vue +++ b/src/views/modules/todo/todoCenter.vue @@ -1517,6 +1517,15 @@ export default { position: relative !important; } +.todo-cache-detail-dialog /deep/ .todo-detail-table td.total-yield-column { + vertical-align: middle !important; +} + +.todo-cache-detail-dialog /deep/ .todo-detail-table td.total-yield-column .cell { + padding: 0 !important; + height: 100%; +} + .todo-cache-detail-dialog .readonly-text-cell { width: 100%; height: 100%; @@ -1536,16 +1545,24 @@ export default { } .todo-cache-detail-dialog .total-yield-cell { + width: 100%; + height: 100%; + padding: 0 8px; + display: flex; + align-items: center; + justify-content: center; text-align: center; } .todo-cache-detail-dialog .total-yield-text { + width: 100%; max-height: none; - overflow-y: hidden; + overflow: hidden; white-space: nowrap; word-break: normal; color: #409eff; font-weight: bold; - line-height: 24px; + line-height: 20px; + text-align: center; }