mobile responsive

This commit is contained in:
gosangam
2026-10-16 15:45:29 +05:30
parent 1e551764e1
commit b194d4aa03
21 changed files with 249 additions and 138 deletions
+3 -2
View File
@@ -17,6 +17,7 @@ import Image from "next/image";
import { toast } from "sonner";
import { rewardGifts, type GiftableReward } from "@/lib/api";
import { compressImage } from "@/lib/compress-image";
import { Clamp } from "@/components/ui/clamp";
export default function RewardGiftsPage() {
const [catalog, setCatalog] = useState<GiftableReward[] | null>(null);
@@ -123,9 +124,9 @@ export default function RewardGiftsPage() {
unoptimized
/>
</div>
<p className="line-clamp-2 text-sm font-medium text-foreground">
<Clamp lines={2} className="w-full text-sm font-medium text-foreground">
{r.name}
</p>
</Clamp>
<div className="mt-auto w-full space-y-1.5">
<Can perm="rewards:send">
<button