Skip to content

Commit

Permalink
fix: top nav search gap
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Jul 18, 2024
1 parent 9c77480 commit 4a888ea
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/bright-parents-add.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vocs": patch
---

Fixed top nav search bar ↔ item gap.
9 changes: 8 additions & 1 deletion src/app/components/DesktopTopNav.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
export const root = style({
alignItems: 'center',
display: 'flex',
gap: spaceVars[8],
justifyContent: 'space-between',
padding: `0 ${topNavVars.horizontalPadding}`,
height: topNavVars.height,
Expand Down Expand Up @@ -97,7 +98,13 @@ export const icon = style(
)

export const item = style(
{ alignItems: 'center', display: 'flex', height: '100%', position: 'relative' },
{
alignItems: 'center',
display: 'flex',
height: '100%',
position: 'relative',
whiteSpace: 'nowrap',
},
'item',
)

Expand Down

0 comments on commit 4a888ea

Please sign in to comment.