Skip to content

Commit 4a74029

Browse files
rizqinizamilm-allanson
authored andcommitted
fix(www): Making prev and next navigation well aligned vertica… (#19233)
* Centered prev and next navigation * use backtick instead of single quote * add comma at the end
1 parent 3aa41fb commit 4a74029

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

www/src/components/prev-and-next.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ const PrevAndNext = ({ prev = null, next = null, ...props }) => {
5151
[mediaQueries.md]: {
5252
marginLeft: t => `-${t.space[4]}`,
5353
},
54+
display: `inline-flex`,
55+
alignItems: `center`,
5456
}}
5557
>
5658
<ArrowBackIcon sx={{ verticalAlign: `sub` }} />
@@ -74,6 +76,8 @@ const PrevAndNext = ({ prev = null, next = null, ...props }) => {
7476
[mediaQueries.md]: {
7577
marginRight: t => `-${t.space[4]}`,
7678
},
79+
display: `inline-flex`,
80+
alignItems: `center`,
7781
}}
7882
>
7983
{next.title}

0 commit comments

Comments
 (0)