Skip to content

Commit

Permalink
Fix sizing for Wally logo
Browse files Browse the repository at this point in the history
  • Loading branch information
RileyAbr committed Nov 6, 2024
1 parent f9c43d4 commit ae6970e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions wally-registry-frontend/src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,11 @@ const LogoImageLink = styled(Link)`
`

const LogoImage = styled(Image)`
position: relative !important;
transition: all 350ms ease;
@media screen and (${notMobile}) {
height: 4.8rem;
height: 4.8rem !important;
&:hover {
transition: all 350ms cubic-bezier(0.34, 2, 0.64, 1);
Expand All @@ -86,7 +87,7 @@ const LogoImage = styled(Image)`
}
@media screen and (${isMobile}) {
height: 100%;
height: 100% !important;
padding: 0.75rem 0 0.75rem 3rem;
}
Expand Down Expand Up @@ -351,7 +352,7 @@ export default function Header() {
</HamburgerButton>

<LogoImageLink href="/">
<LogoImage src={logo} alt="Wally" loading="eager" />
<LogoImage src={logo} alt="Wally" loading="eager" fill={true} />
</LogoImageLink>

<AsyncSelect
Expand Down

0 comments on commit ae6970e

Please sign in to comment.