Skip to content

Commit

Permalink
Fix GitHub button position in Navbar (#306)
Browse files Browse the repository at this point in the history
Signed-off-by: Cintia Sanchez Garcia <[email protected]>
  • Loading branch information
cynthia-sg authored May 16, 2023
1 parent 3aa64f5 commit b8a71fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions web/src/layout/navigation/Navbar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
font-size: 0.6rem;
}

.githubIcon {
margin-top: -3px;
}

[data-theme='dark'] .alpha {
background-color: var(--color-black-25);
}
Expand Down
2 changes: 1 addition & 1 deletion web/src/layout/navigation/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const Navbar = () => {
label="Github link"
href="https://github.com/cncf/clotributor"
>
<FaGithub />
<FaGithub className={`position-relative ${styles.githubIcon}`} />
</ExternalLink>
<Settings />
</div>
Expand Down

0 comments on commit b8a71fd

Please sign in to comment.