Skip to content

Commit afaef67

Browse files
committed
feat: adjust padding
1 parent b236251 commit afaef67

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

apps/frontend/src/app/question/[id]/page.tsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -300,21 +300,23 @@ export default function QuestionPage() {
300300
>
301301
<div className="submission-header-detail">
302302
<div style={{ fontWeight: "bold" }}>
303-
Submitted at:&nbsp;
303+
Submitted at:
304+
</div>
305+
<div style={{ paddingLeft: "5px" }}>
306+
{submission?.submittedAt || "-"}
304307
</div>
305-
<div>{submission?.submittedAt || "-"}</div>
306308
</div>
307309
<div className="submission-header-detail">
308-
<div style={{ fontWeight: "bold" }}>
309-
Language:&nbsp;
310+
<div style={{ fontWeight: "bold" }}>Language:</div>
311+
<div style={{ paddingLeft: "5px" }}>
312+
{submission?.language || "-"}
310313
</div>
311-
<div>{submission?.language || "-"}</div>
312314
</div>
313315
<div className="submission-header-detail">
314316
<div style={{ fontWeight: "bold" }}>
315-
Matched with:&nbsp;
317+
Matched with:
316318
</div>
317-
<div>
319+
<div style={{ paddingLeft: "5px" }}>
318320
{submission?.matchedUser
319321
? // Check to ensure that matched user is correct, otherwise swap with otherUser
320322
username == submission.matchedUser

apps/frontend/src/app/question/[id]/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,5 @@
142142
font-weight: normal;
143143
display: flex;
144144
flex-direction: row;
145-
padding: 0px 10px 0px 10px;
145+
padding: 0px 10px 0px 0px;
146146
}

0 commit comments

Comments
 (0)