Fix .videowrapper and update button and search components for consistency in text labels - #491
Merged
Conversation
- Changed button class to prevent text overflow by adding 'whitespace-nowrap'. - Updated placeholder and button text from 'Find something...' to 'Search...' for clarity and uniformity across the search components. - Adjusted aria-labels to match the updated button text for improved accessibility.
mlsmaycon
approved these changes
Nov 22, 2025
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.
Fix: YouTube video aspect ratio and alignment issues
Problem
When zooming out, embedded YouTube videos would:
Before
After
Solution
Updated
.videowrapperand.videowrapperadjustedclasses to use modern CSS:Changes made:
aspect-ratio: 16 / 9for reliable 16:9 ratio40remon screens < 1024px50remon screens ≥ 1024pxmargin-left: 10pxandmargin-right: autoto align videos with text contentFile:
src/styles/tailwind.cssBenefits
Fix: Prevent UI elements from wrapping when zoomed in
Problem
When users zoom in on the documentation site, text in UI components like the search bar and buttons would wrap to multiple lines, causing layout issues and making the interface look awkward.
Before
After
Changes Made
1. Shortened Search Placeholder Text
"Find something..."to"Search..."in the Search componentFile:
src/components/Search.jsx2. Prevented Button Text Wrapping
whitespace-nowrapCSS class to the Button componentFile:
src/components/Button.jsxBenefits
Testing
Verify that: