style: change the appearance of the “Hide Input” button

This commit is contained in:
Mahen 2026-03-28 19:39:42 +07:00
parent acdec857b0
commit a106c5d6c1
1 changed files with 10 additions and 8 deletions

View File

@ -41,14 +41,16 @@ export default function AnalysisClient() {
{...item.title} {...item.title}
/> />
</div> </div>
<Button {index === visibleFields - 1 && (
type="button" <Button
variant="ghost" type="button"
onClick={() => setVisibleFields((prev) => prev - 1)} variant="ghost"
className="text-sentiment-negative hover:text-sentiment-negative hover:bg-sentiment-negative-light shrink-0" onClick={() => setVisibleFields((prev) => prev - 1)}
> className="text-sentiment-negative hover:text-sentiment-negative hover:bg-sentiment-negative-light shrink-0"
>
</Button>
</Button>
)}
</div> </div>
</div> </div>
)); ));