Skip to content

Commit

Permalink
Make the links on the log in page visually consistent
Browse files Browse the repository at this point in the history
Timo was totally right in his previous review of my typography component work that these didn't have the right styling. I just didn't notice!
  • Loading branch information
robintown committed Sep 19, 2024
1 parent cec7fc8 commit 8b3c94b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
9 changes: 0 additions & 9 deletions src/auth/LoginPage.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,6 @@ Please see LICENSE in the repository root for full details.
flex-direction: column;
justify-content: flex-end;
align-items: center;
}

.authLinks {
margin-bottom: 100px;
font-size: var(--font-size-body);
}

.authLinks a {
color: var(--cpd-color-text-action-accent);
text-decoration: none;
font-weight: normal;
}
3 changes: 2 additions & 1 deletion src/auth/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Please see LICENSE in the repository root for full details.
*/

import { FC, FormEvent, useCallback, useRef, useState } from "react";
import { useHistory, useLocation, Link } from "react-router-dom";
import { useHistory, useLocation } from "react-router-dom";

Check warning on line 9 in src/auth/LoginPage.tsx

View check run for this annotation

Codecov / codecov/patch

src/auth/LoginPage.tsx#L9

Added line #L9 was not covered by tests
import { Trans, useTranslation } from "react-i18next";
import { Button } from "@vector-im/compound-web";

Expand All @@ -18,6 +18,7 @@ import { useInteractiveLogin } from "./useInteractiveLogin";
import { usePageTitle } from "../usePageTitle";
import { PosthogAnalytics } from "../analytics/PosthogAnalytics";
import { Config } from "../config/Config";
import { Link } from "../button/Link";

Check warning on line 21 in src/auth/LoginPage.tsx

View check run for this annotation

Codecov / codecov/patch

src/auth/LoginPage.tsx#L21

Added line #L21 was not covered by tests

export const LoginPage: FC = () => {
const { t } = useTranslation();
Expand Down

0 comments on commit 8b3c94b

Please sign in to comment.