Skip to content

Commit 42d35e0

Browse files
Fix: Logo size change during resizing
1 parent e71872b commit 42d35e0

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

components/Nav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default function Nav() {
2525
<div className={styles.align}>
2626
<Link href="/">
2727
<img
28-
className={`${styles.img} ${styles.logo}`}
28+
className={styles.logo}
2929
src="/images/web-dev-path-logo-small.png"
3030
alt="Logo"
3131
/>

styles/Nav.module.css

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
.img {
2-
max-width: 100%;
3-
}
4-
51
.navContainer {
62
width: 80%;
73
max-width: 800px;
@@ -106,6 +102,7 @@
106102

107103
.logo {
108104
border-radius: 50%;
105+
height: 5em;
109106
}
110107

111108
@media (min-width: 768px) {

0 commit comments

Comments
 (0)