Skip to content

Commit bc54834

Browse files
committed
tweaks
1 parent 704923c commit bc54834

File tree

3 files changed

+20
-14
lines changed

3 files changed

+20
-14
lines changed

src/components/TopBar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const TopBar = () => {
5757
<header className={css.root}>
5858
<div className={css.logo}>
5959
<Link to="/" aria-label="Go to homepage">
60-
<NewLogo className={css.newLogo} />
60+
<NewLogo className={css.logoSvg} />
6161
</Link>
6262
</div>
6363
<div className={css.clock}>🕛</div>

src/components/TopBar.module.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
}
1717

1818
.logo {
19-
padding: 0 var(--box-padding);
19+
padding: 0 var(--spacing-normal);
2020
}
2121

22-
.newLogo {
23-
width: 40px;
22+
.logoSvg {
23+
height: 32px;
2424
}
2525

2626
.clock {
@@ -81,6 +81,12 @@
8181
}
8282
}
8383

84+
@media (--small) {
85+
.logoSvg {
86+
height: 28px;
87+
}
88+
}
89+
8490
@media (--xsmall) {
8591
.shortDate {
8692
display: initial;

src/images/new-logo.svg

Lines changed: 10 additions & 10 deletions
Loading

0 commit comments

Comments
 (0)