mirror of
https://github.com/lumina-rocks/lumina.git
synced 2026-04-12 16:37:01 +02:00
fix: adjust spacing in CardHeader components for consistency
This commit is contained in:
@@ -145,7 +145,7 @@ export default function CardOptionsDropdown({ event }: CardOptionsDropdownProps)
|
||||
<>
|
||||
<DropdownMenu open={dropdownOpen} onOpenChange={setDropdownOpen}>
|
||||
<DropdownMenuTrigger asChild>
|
||||
<Button variant="ghost" size="icon" className="ml-auto" aria-label="Options">
|
||||
<Button variant="ghost" size="icon" className="ml-auto mt-0 flex-shrink-0" aria-label="Options">
|
||||
<DotsVerticalIcon className="h-4 w-4" />
|
||||
</Button>
|
||||
</DropdownMenuTrigger>
|
||||
|
||||
@@ -115,7 +115,7 @@ const KIND20Card: React.FC<KIND20CardProps> = ({
|
||||
<>
|
||||
<div key={event.id}>
|
||||
<Card className="my-4">
|
||||
<CardHeader className="flex flex-row items-center">
|
||||
<CardHeader className="flex flex-row items-center space-y-0">
|
||||
<CardTitle className="flex-1">
|
||||
<Link href={hrefProfile} style={{ textDecoration: "none" }}>
|
||||
<TooltipProvider>
|
||||
|
||||
@@ -59,7 +59,7 @@ const NoteCard: React.FC<NoteCardProps> = ({ pubkey, text, eventId, tags, event,
|
||||
return (
|
||||
<>
|
||||
<Card>
|
||||
<CardHeader className="flex flex-row items-center">
|
||||
<CardHeader className="flex flex-row items-center space-y-0">
|
||||
<CardTitle className="flex-1">
|
||||
<Link href={hrefProfile} style={{ textDecoration: 'none' }}>
|
||||
<TooltipProvider>
|
||||
|
||||
Reference in New Issue
Block a user