Skip to content

Commit dabe8a2

Browse files
committed
chore: reduce Searchbox button layout shift
1 parent d252e0b commit dabe8a2

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

apps/site/components/Containers/NavBar/index.module.css

+5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@
1212
dark:bg-neutral-950;
1313
}
1414

15+
.searchWrapper {
16+
@apply flex
17+
flex-grow;
18+
}
19+
1520
.nodeIconAndMobileItemsToggler {
1621
@apply flex
1722
h-16

apps/site/components/Containers/NavBar/index.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ const NavBar: FC<NavbarProps> = ({
7171
</div>
7272

7373
<div className={style.actionsWrapper}>
74-
<SearchButton />
74+
<div className={style.searchWrapper}>
75+
<SearchButton />
76+
</div>
7577

7678
<ThemeToggle onClick={onThemeTogglerClick} />
7779

0 commit comments

Comments
 (0)