fix(exam grading keys): Fix spacing

This commit is contained in:
Gregor Kleen 2019-06-27 11:09:44 +02:00
parent 6fb1399ef4
commit 24aacef6af
3 changed files with 5 additions and 2 deletions

View File

@ -722,7 +722,7 @@ getEShowR tid ssh csh examn = do
gradingKeyW :: [Points] -> Widget
gradingKeyW bounds
= let boundWidgets :: [Widget]
boundWidgets = map (toWidget . (pack :: String -> Text) . showFixed True) bounds
boundWidgets = toWidget . (pack :: String -> Text) . showFixed True <$> 0 : bounds
grades :: [ExamGrade]
grades = universeF
in $(widgetFile "widgets/gradingKey")

View File

@ -0,0 +1,3 @@
.table--grading-key
th, td
padding: 3px;

View File

@ -1,5 +1,5 @@
$newline never
<table>
<table .table--grading-key>
<thead>
<tr>
<td>