parole widget UI
This commit is contained in:
parent
d2d2832276
commit
dc6d7f1a15
@ -131,7 +131,7 @@ export function Parole() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Card
|
<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')}
|
onClick={() => router.push('/parole')}
|
||||||
>
|
>
|
||||||
<CardHeader className="flex flex-row items-center justify-between pb-2 border-b border-gray-100">
|
<CardHeader className="flex flex-row items-center justify-between pb-2 border-b border-gray-100">
|
||||||
@ -170,7 +170,7 @@ export function Parole() {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{!loading && !error && (
|
{!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 ? (
|
{messages.length === 0 ? (
|
||||||
<p className="text-center text-gray-500">No messages found</p>
|
<p className="text-center text-gray-500">No messages found</p>
|
||||||
) : (
|
) : (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user