Skip to content

Commit a04f975

Browse files
doradocodeskiranShamsHereksen0
authored
fix: vertically align nav arrow with p5 logo using flexbox (#1430) (#1440)
* fix: vertically align nav arrow with p5 logo using flexbox * fix: set explicit height on logo anchor to prevent SVG collapse Co-authored-by: Kiran Shams <kiranshamsdhiloo@gmail.com> Co-authored-by: kit <1304340+ksen0@users.noreply.github.com>
1 parent 422113c commit a04f975

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)