Skip to content

Commit 24be63f

Browse files
committed
Constrain navigation logo size with max dimensions
1 parent 3c8addf commit 24be63f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

assets/css/style.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,11 @@ body {
6666
transition: var(--transition);
6767

6868
.site-logo {
69-
height: 45px;
69+
height: 40px;
70+
max-height: 40px;
7071
width: auto;
72+
max-width: 150px;
73+
object-fit: contain;
7174
transition: var(--transition);
7275
}
7376

0 commit comments

Comments
 (0)