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}
/>
</div>
<Button
type="button"
variant="ghost"
onClick={() => setVisibleFields((prev) => prev - 1)}
className="text-sentiment-negative hover:text-sentiment-negative hover:bg-sentiment-negative-light shrink-0"
>
</Button>
{index === visibleFields - 1 && (
<Button
type="button"
variant="ghost"
onClick={() => setVisibleFields((prev) => prev - 1)}
className="text-sentiment-negative hover:text-sentiment-negative hover:bg-sentiment-negative-light shrink-0"
>
</Button>
)}
</div>
</div>
));