Skip to content

Commit 134ae2e

Browse files
author
Martin Krulis
committed
Adding correct vertical alignment class to solutions table.
1 parent 8f401af commit 134ae2e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/Assignments/SolutionsTable/SolutionsTableRow.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ const SolutionsTableRow = ({
8989
<CommentsIcon id={id} commentsStats={commentsStats} gapLeft={!splitOnTwoLines} />
9090
</td>
9191

92-
<td className="text-nowrap">
92+
<td className="text-nowrap valign-middle">
9393
<DateTime unixts={createdAt} showOverlay overlayTooltipId={`datetime-${id}`} />
9494
</td>
9595

96-
<td className="text-center text-nowrap">
96+
<td className="text-center text-nowrap valign-middle">
9797
{showScoreAndPoints(status) ? (
9898
<strong className="text-success">
9999
<FormattedNumber style="percent" value={lastSubmission.evaluation.score} />
@@ -103,7 +103,7 @@ const SolutionsTableRow = ({
103103
)}
104104
</td>
105105

106-
<td className="text-center text-nowrap">
106+
<td className="text-center text-nowrap valign-middle">
107107
{showScoreAndPoints(status) ? (
108108
<strong className="text-success">
109109
<Points points={actualPoints} bonusPoints={bonusPoints} maxPoints={maxPoints} />
@@ -113,7 +113,7 @@ const SolutionsTableRow = ({
113113
)}
114114
</td>
115115

116-
<td className="text-center text-nowrap">
116+
<td className="text-center text-nowrap valign-middle">
117117
{runtimeEnvironment ? (
118118
<EnvironmentsListItem runtimeEnvironment={runtimeEnvironment} longNames={!compact} />
119119
) : (

0 commit comments

Comments
 (0)