diff --git a/src/pages/oj/components/Panel.vue b/src/pages/oj/components/Panel.vue
index a71b74a..980d11f 100644
--- a/src/pages/oj/components/Panel.vue
+++ b/src/pages/oj/components/Panel.vue
@@ -6,7 +6,9 @@
-
+
+
+
@@ -59,4 +61,8 @@
}
}
}
+ .panel-body {
+ word-break: break-all;
+ word-wrap: break-word;
+ }
diff --git a/src/pages/oj/views/problem/ProblemList.vue b/src/pages/oj/views/problem/ProblemList.vue
index 92b14f4..2b23513 100644
--- a/src/pages/oj/views/problem/ProblemList.vue
+++ b/src/pages/oj/views/problem/ProblemList.vue
@@ -99,7 +99,7 @@
style: {
padding: '2px 0'
}
- }, params.row.title)
+ }, params.row._id)
}
},
{
diff --git a/src/pages/oj/views/submission/SubmissionDetails.vue b/src/pages/oj/views/submission/SubmissionDetails.vue
index 77e0596..355836f 100644
--- a/src/pages/oj/views/submission/SubmissionDetails.vue
+++ b/src/pages/oj/views/submission/SubmissionDetails.vue
@@ -158,6 +158,11 @@
span {
margin-right: 10px;
}
+ pre {
+ white-space: pre-wrap;
+ word-wrap: break-word;
+ word-break: break-all;
+ }
}
}