fix: replace non-standard Tailwind opacity /12 with rgba in ScriptFilterBar
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -38,7 +38,7 @@ export function ScriptFilterBar({ inputValue, setInputValue }: Props) {
|
|||||||
'font-label text-xs px-3 py-1.5 rounded-full border transition-all',
|
'font-label text-xs px-3 py-1.5 rounded-full border transition-all',
|
||||||
activeCategoryId === null
|
activeCategoryId === null
|
||||||
? 'bg-primary/10 border-primary/30 text-foreground border-l-[3px] border-l-primary'
|
? 'bg-primary/10 border-primary/30 text-foreground border-l-[3px] border-l-primary'
|
||||||
: 'border-border text-muted-foreground hover:border-white/12 hover:text-foreground'
|
: 'border-border text-muted-foreground hover:border-[rgba(255,255,255,0.12)] hover:text-foreground'
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
All
|
All
|
||||||
@@ -52,7 +52,7 @@ export function ScriptFilterBar({ inputValue, setInputValue }: Props) {
|
|||||||
'font-label text-xs px-3 py-1.5 rounded-full border transition-all',
|
'font-label text-xs px-3 py-1.5 rounded-full border transition-all',
|
||||||
activeCategoryId === cat.id
|
activeCategoryId === cat.id
|
||||||
? 'bg-primary/10 border-primary/30 text-foreground border-l-[3px] border-l-primary'
|
? 'bg-primary/10 border-primary/30 text-foreground border-l-[3px] border-l-primary'
|
||||||
: 'border-border text-muted-foreground hover:border-white/12 hover:text-foreground'
|
: 'border-border text-muted-foreground hover:border-[rgba(255,255,255,0.12)] hover:text-foreground'
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{cat.name}
|
{cat.name}
|
||||||
|
|||||||
Reference in New Issue
Block a user