2 Commits

  1. 19
      src/views/modules/sampleTracking/projectProofTracking.vue

19
src/views/modules/sampleTracking/projectProofTracking.vue

@ -7137,11 +7137,12 @@ export default {
transform: translateY(-50%); transform: translateY(-50%);
} }
.comments-cell {
.el-table.proof-tracking-table .comments-cell {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 4px; gap: 4px;
min-height: 26px;
height: 28px;
min-width: 0;
} }
.comments-edit-input { .comments-edit-input {
@ -7153,11 +7154,21 @@ export default {
min-width: 28px; min-width: 28px;
} }
.comments-text {
/* Comments 两行共 28px,与原单元格内容高度一致,不撑高整行 */
.el-table.proof-tracking-table .comments-text {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
width: 100%; width: 100%;
min-width: 0;
max-height: 28px;
font-size: 11px;
line-height: 14px;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap;
white-space: pre-wrap;
word-break: break-word;
overflow-wrap: anywhere;
} }
.process-date-tooltip { .process-date-tooltip {

Loading…
Cancel
Save