Skip to content

Commit a991987

Browse files
fix: vertically align nav arrow with p5 logo using flexbox (#1430)
* fix: vertically align nav arrow with p5 logo using flexbox * fix: set explicit height on logo anchor to prevent SVG collapse
1 parent 2134e07 commit a991987

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Nav/styles.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,12 @@
6666
.logo {
6767
height: 50px;
6868
display: flex;
69+
align-items: center;
6970
gap: var(--spacing-xs);
7071
padding: 0;
7172
margin-bottom: 10px;
7273
a {
73-
height: unset;
74+
height: 100%;
7475
}
7576
}
7677

@@ -113,7 +114,6 @@
113114
display: none;
114115
@media (min-width: variables.$breakpoint-tablet) {
115116
display: block;
116-
margin-top: 7.5px;
117117
}
118118
}
119119

0 commit comments

Comments
 (0)