File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
src/lib/components/WorkBookTasks Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 150
150
<Table shadow class =" text-md table-fixed w-full" aria-label =" Workbook tasks" >
151
151
<caption class =" sr-only" >List of workbook tasks with their grades and comments</caption >
152
152
<TableHead class =" text-sm bg-gray-100" >
153
- <TableHeadCell class =" w-6 pl-2 md:pl-4 pr-0 text-center" >#</TableHeadCell >
154
- <TableHeadCell class =" w-20 xs:w-24 text-center px-0" aria-label =" Task grade" >
153
+ <TableHeadCell class =" w-10 pl-3 pr-3 text-center" >#</TableHeadCell >
154
+ <TableHeadCell class =" w-16 xs:w-20 text-center px-0" aria-label =" Task grade" >
155
155
グレード
156
156
</TableHeadCell >
157
157
<TableHeadCell class =" w-1/2 pl-0 truncate" >問題名</TableHeadCell >
168
168
{#each workBookTasksForTable as task , index }
169
169
<TableBodyRow >
170
170
<!-- ID -->
171
- <TableBodyCell
172
- class =" xs:text-lg text-gray-700 dark:text-gray-300 truncate pl-2 md:pl-4 pr-0"
173
- >
174
- <div class =" flex justify-center items-center" >
171
+ <TableBodyCell class =" xs:text-lg text-gray-700 dark:text-gray-300 truncate pl-6 pr-3" >
172
+ <div class =" flex justify-center items-center h-full" >
175
173
<!-- HACK: 1-indexedにしているが、0-indexedで揃えた方がいい? -->
176
174
{index + 1 }
177
175
</div >
178
176
</TableBodyCell >
179
177
180
178
<!-- グレード -->
181
- <TableBodyCell class = " w-20 xs:w-24 " >
179
+ <TableBodyCell >
182
180
<div class =" flex items-center justify-center" >
183
181
<GradeLabel taskGrade ={getTaskGrade (tasksMapByIds , task .taskId )} />
184
182
</div >
You can’t perform that action at this time.
0 commit comments