diff --git a/public/react/src/modules/courses/shixunHomework/ShixunWorkDetails.js b/public/react/src/modules/courses/shixunHomework/ShixunWorkDetails.js index 4cfdccab0..5db2df83a 100644 --- a/public/react/src/modules/courses/shixunHomework/ShixunWorkDetails.js +++ b/public/react/src/modules/courses/shixunHomework/ShixunWorkDetails.js @@ -95,7 +95,7 @@ class ShixunWorkDetails extends Component {
非编程类型任务,不参与查重 diff --git a/public/react/src/modules/courses/shixunHomework/Shixunworkdetails/ShixunCustomsPass.js b/public/react/src/modules/courses/shixunHomework/Shixunworkdetails/ShixunCustomsPass.js index 81e5ec178..8d3fcabb6 100644 --- a/public/react/src/modules/courses/shixunHomework/Shixunworkdetails/ShixunCustomsPass.js +++ b/public/react/src/modules/courses/shixunHomework/Shixunworkdetails/ShixunCustomsPass.js @@ -50,14 +50,20 @@ class ShixunCustomsPass extends Component { .backgroud4CACFF{ background: #4CACFF; } + .fontpass{ + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + width: 346px; + } `} - + 第{record.customs.position}关 - {record.customs.subject} + {record.customs.subject} ),