增加按鈕提示文字

This commit is contained in:
2025-07-20 03:32:11 +08:00
parent 260848ec2c
commit c3d085ab4d

View File

@@ -373,6 +373,9 @@ export default function WishCard({ wish }: WishCardProps) {
onClick={() => setShowSolutions(!showSolutions)}
className="text-indigo-200 hover:text-white hover:bg-indigo-700/50 px-2 py-1 transition-all duration-200 flex-shrink-0"
>
<span className="text-xs mr-1 hidden sm:inline">
{showSolutions ? "收起" : "展開"}
</span>
{showSolutions ? <ChevronUp className="w-4 h-4" /> : <ChevronDown className="w-4 h-4" />}
</Button>
</div>