Skip to content

Commit

Permalink
fix: Logo was underlined on hover in the footer on desktop screens
Browse files Browse the repository at this point in the history
  • Loading branch information
karpolan committed Feb 2, 2024
1 parent a361fbf commit 9ce7561
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/Logo/Logo.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/* Same as .dark */
color: rgb(28, 14, 13);
margin: 0.125rem;
text-decoration: none;
}

.logo:hover {
Expand Down
1 change: 1 addition & 0 deletions src/components/Logo/Logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const Logo: FunctionComponent<Props> = ({ href, noText, size = 'medium', variant

const textToRender = useMemo(
() =>
// TODO: Add real text here
noText ? null : (
<div className={`${styles.text} ${styles[size]}`}>
<span className={styles.primary}>Logo</span>
Expand Down
3 changes: 2 additions & 1 deletion src/layout/components/Footer/Footer.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@
padding: 2rem 0;
}

.footer.desktop a:hover {
.footer.desktop .content a:hover {
text-decoration: underline;
}

.logo {
align-items: center;
display: flex;
flex-direction: column;
text-decoration: none;
}

.logo .text {
Expand Down

0 comments on commit 9ce7561

Please sign in to comment.