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 :: [Points] -> Widget
|
||||||
gradingKeyW bounds
|
gradingKeyW bounds
|
||||||
= let boundWidgets :: [Widget]
|
= let boundWidgets :: [Widget]
|
||||||
boundWidgets = map (toWidget . (pack :: String -> Text) . showFixed True) bounds
|
boundWidgets = toWidget . (pack :: String -> Text) . showFixed True <$> 0 : bounds
|
||||||
grades :: [ExamGrade]
|
grades :: [ExamGrade]
|
||||||
grades = universeF
|
grades = universeF
|
||||||
in $(widgetFile "widgets/gradingKey")
|
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
|
$newline never
|
||||||
<table>
|
<table .table--grading-key>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user