fix(geoportal): search input text invisible in dark mode
Changed bg-background/95 to bg-background (opaque) and added text-foreground to ensure input text is visible on dark theme. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -106,7 +106,7 @@ export function SearchBar({ onResultSelect, className }: SearchBarProps) {
|
|||||||
if (results.length > 0) setOpen(true);
|
if (results.length > 0) setOpen(true);
|
||||||
}}
|
}}
|
||||||
onKeyDown={handleKeyDown}
|
onKeyDown={handleKeyDown}
|
||||||
className="pl-8 pr-8 h-8 text-sm bg-background/95 backdrop-blur-sm"
|
className="pl-8 pr-8 h-8 text-sm bg-background backdrop-blur-sm text-foreground"
|
||||||
/>
|
/>
|
||||||
{loading && (
|
{loading && (
|
||||||
<Loader2 className="absolute right-8 top-1/2 -translate-y-1/2 h-3.5 w-3.5 animate-spin text-muted-foreground" />
|
<Loader2 className="absolute right-8 top-1/2 -translate-y-1/2 h-3.5 w-3.5 animate-spin text-muted-foreground" />
|
||||||
|
|||||||
Reference in New Issue
Block a user