Fix .videowrapper and update button and search components for consistency in text labels (#491)

* Update button and search components for consistency in text labels

- 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.

* Fix videowrapper
This commit is contained in:
Brandon Hopkins
2025-11-22 01:09:46 -08:00
committed by GitHub
parent 227e5cbb89
commit c40c132caa
3 changed files with 44 additions and 18 deletions

View File

@@ -36,7 +36,7 @@ export function Button({
let Component = props.href ? Link : 'button'
className = clsx(
'inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition',
'inline-flex gap-0.5 justify-center overflow-hidden text-sm font-medium transition whitespace-nowrap',
variantStyles[variant],
className
)