_includes/session/points.html in askclass-course-theme-0.7.2 vs _includes/session/points.html in askclass-course-theme-0.7.3
- old
+ new
@@ -1,7 +1,8 @@
{%- if session_data.points or session_data.due -%}
-<table style="width: max-content">
+<table style="width: max-content; table-layout: auto; white-space: nowrap">
+ <tbody>
{%- if session_data.points -%}
<tr>
<td>Points</td>
<td>{{ session_data.points }}</td>
</tr>
@@ -10,7 +11,8 @@
<tr>
<td>Due</td>
<td>{{ session_data.due | date: '%B %d, %Y' }}</td>
</tr>
{%- endif -%}
+ </tbody>
</table>
{%- endif -%}