feat: improved news
This commit is contained in:
@@ -46,7 +46,7 @@ export default function DraftsDialog({ drafts }: { drafts: Draft[]}) {
|
||||
<div className="flex flex-col items-center gap-2">
|
||||
{drafts.map((draft) => (
|
||||
<div className="w-full flex flex-row items-center justify-between" key={draft.id}>
|
||||
<h3 className="w-64 hover:underline underline-offset-8 decoration-2 duration-200 cursor-pointer truncate">
|
||||
<h3 className="w-64 truncate">
|
||||
{draft.title}
|
||||
</h3>
|
||||
<div className="flex flex-row items-center gap-2">
|
||||
@@ -61,7 +61,7 @@ export default function DraftsDialog({ drafts }: { drafts: Draft[]}) {
|
||||
))}
|
||||
</div>
|
||||
) : (
|
||||
<h4>There are no drafts yet...</h4>
|
||||
<h4 className="text-muted-foreground">There are no drafts yet...</h4>
|
||||
)}
|
||||
</DialogContent>
|
||||
</Dialog>
|
||||
|
||||
Reference in New Issue
Block a user