Skip to content

Commit fea20cb

Browse files
committed
Use right alignment for the link
Respond to roraback feedback.
1 parent 5382935 commit fea20cb

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/components/GitHubIssueLink/GitHubIssueLink.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
min-width: 0;
55
transition: color var(--t-interaction);
66
color: var(--ifm-font-color-base);
7+
text-align: right;
78

89
&:hover,
910
&:active,

src/components/GitHubIssueLink/index.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,9 @@ export const getReportIssueURL = function (pagePath: string): string {
3333
};
3434
export const GitHubIssueLink = function ({ pathname }: GitHubIssueLinkProps) {
3535
return (
36-
<p>
37-
<a
38-
className={styles.githubLink}
39-
href={getReportIssueURL(pathname)}
40-
target={"_blank"}
41-
>
42-
{"Report an issue with this page."}
36+
<p className={styles.githubLink}>
37+
<a href={getReportIssueURL(pathname)} target={"_blank"}>
38+
{"Report an issue with this page"}
4339
</a>
4440
</p>
4541
);

0 commit comments

Comments
 (0)