From 4d5e801efff62ee63538e3c787ab74e6503e3d74 Mon Sep 17 00:00:00 2001 From: maheshgudi Date: Fri, 10 Nov 2017 16:50:18 +0530 Subject: Add textwrap for assertion error table --- yaksh/static/yaksh/css/exam.css | 2 +- yaksh/templates/exam.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/yaksh/static/yaksh/css/exam.css b/yaksh/static/yaksh/css/exam.css index fff904e..ec48a14 100644 --- a/yaksh/static/yaksh/css/exam.css +++ b/yaksh/static/yaksh/css/exam.css @@ -2,6 +2,6 @@ table td, table th { border: black solid 1px !important; word-wrap: break-word !important; white-space: pre-wrap !important; } -output{ +#stdio, #assertion { table-layout: fixed } \ No newline at end of file diff --git a/yaksh/templates/exam.html b/yaksh/templates/exam.html index 1cd3964..a1f0df4 100644 --- a/yaksh/templates/exam.html +++ b/yaksh/templates/exam.html @@ -97,7 +97,7 @@
{{error.test_case}}
{% endif %}

The following error took place:

- +
@@ -123,7 +123,7 @@
Exception Name:
{% endif %} - +
-- cgit