Skip to content

Commit 6c161d1

Browse files
committed
Keep vertical mobile button position to avoid element jumping
1 parent 6a7e5d9 commit 6c161d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/components/Search/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const Search: FC<SearchProps> = ({
7171
<form
7272
className={cn(
7373
'flex-1 flex gap-2 items-center',
74-
expandable && 'absolute h-10 group-hover:inset-0 group-focus-within:inset-0',
74+
expandable && 'absolute h-10 group-hover:inset-x-0 group-focus-within:inset-x-0',
7575
)}
7676
onSubmit={onFormSubmit}
7777
role="search"

0 commit comments

Comments
 (0)