fix(exam grading keys): Fix spacing
This commit is contained in:
parent
6fb1399ef4
commit
24aacef6af
@ -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")
|
||||
|
||||
3
templates/widgets/gradingKey.cassius
Normal file
3
templates/widgets/gradingKey.cassius
Normal file
@ -0,0 +1,3 @@
|
||||
.table--grading-key
|
||||
th, td
|
||||
padding: 3px;
|
||||
@ -1,5 +1,5 @@
|
||||
$newline never
|
||||
<table>
|
||||
<table .table--grading-key>
|
||||
<thead>
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user