Fix search box visibility and size on mobile Safari#369
Closed
roomote[bot] wants to merge 1 commit intomainfrom
Closed
Fix search box visibility and size on mobile Safari#369roomote[bot] wants to merge 1 commit intomainfrom
roomote[bot] wants to merge 1 commit intomainfrom
Conversation
- Increased opacity of search button and input backgrounds for better visibility - Removed backdrop-filter for Safari compatibility - Made search button larger (min-width: 120px, height: 44px) for better tap targets - Added "Search" text on mobile for better discoverability - Increased font size to 16px to prevent iOS zoom - Added thicker borders and shadows for better contrast - Special Safari-specific fixes using @supports detection - Made search bar full width on mobile for better accessibility
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes the search box visibility and size issues on mobile Safari that were reported via Slack.
Problem
Solution
The fix addresses both issues through multiple improvements:
Visibility Improvements
Size Improvements
Testing
Browser Compatibility
Fixes the issue reported: "The search box is barely visible in mobile safari. It's also tiny"
Important
Improves search box visibility and usability on mobile Safari by adjusting CSS properties for better compatibility and user experience.
.navbar__search-inputand.DocSearch-Button.backdrop-filterfor Safari compatibility in.navbar__search-inputand.DocSearch-Button.@supportsto enhance visibility..DocSearch-Buttonheight to 44px and added 16px horizontal padding for better tap target..DocSearch-Buttonminimum width to 120px and font size to 16px..DocSearch-Buttonfull width on mobile..DocSearch-Search-Iconto 24x24px..DocSearch-Buttonand.navbar__search-input.This description was created by
for bb0144d. You can customize this summary. It will automatically update as commits are pushed.