parole widget UI

This commit is contained in:
alma 2025-05-04 13:04:03 +02:00
parent d2d2832276
commit dc6d7f1a15

View File

@ -131,7 +131,7 @@ export function Parole() {
return (
<Card
className="transition-transform duration-500 ease-in-out transform hover:scale-105 bg-white/95 backdrop-blur-sm border-0 shadow-lg h-full cursor-pointer w-full"
className="transition-transform duration-500 ease-in-out transform hover:scale-105 bg-white/95 backdrop-blur-sm border-0 shadow-lg cursor-pointer w-full"
onClick={() => router.push('/parole')}
>
<CardHeader className="flex flex-row items-center justify-between pb-2 border-b border-gray-100">
@ -170,7 +170,7 @@ export function Parole() {
</div>
)}
{!loading && !error && (
<div className="space-y-4 max-h-[300px] overflow-y-auto">
<div className="space-y-4 max-h-[400px] overflow-y-auto pr-1 scrollbar-thin scrollbar-thumb-gray-200 scrollbar-track-transparent">
{messages.length === 0 ? (
<p className="text-center text-gray-500">No messages found</p>
) : (