Skip to content

Commit

Permalink
Fix search bar bug and make links respond faster on touch.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjerleke committed May 4, 2024
1 parent ec140bb commit 390951b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const linkBareStyles = css<{ $isKeyNavigating: boolean }>`
${KEY_NAVIGATING_STYLES};
${TAP_HIGHLIGHT_STYLES};
text-decoration: none;
touch-action: manipulation;
`

const InternalLink = styled(Link)`
Expand Down
4 changes: 4 additions & 0 deletions packages/embla-carousel-docs/src/components/Search/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,10 @@ const inputStyles = css`
.DocSearch-Input::-webkit-search-results-decoration {
display: none;
}
.DocSearch-VisuallyHiddenForAccessibility {
${visuallyHiddenStyles};
}
`

const toggleButtonStyles = css`
Expand Down

0 comments on commit 390951b

Please sign in to comment.