mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-08 22:47:02 +02:00
ui: adjust spacing for quote skeletons
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
"Bash(ls:*)",
|
||||
"Bash(tree:*)",
|
||||
"Bash(awk:*)",
|
||||
"Bash(sed:* -n *)",
|
||||
"Bash(sed:*)",
|
||||
"Bash(head:*)",
|
||||
"Bash(tail:*)",
|
||||
"Bash(wc:*)",
|
||||
|
||||
@@ -10,18 +10,18 @@ const CompactQuoteSkeleton = React.forwardRef<
|
||||
return (
|
||||
<div
|
||||
ref={ref}
|
||||
className={`border-l-2 border-muted pl-3 space-y-2 ${className || ""}`}
|
||||
className={`my-2 border-l-2 border-muted pl-3 py-1 space-y-2 ${className || ""}`}
|
||||
role="status"
|
||||
aria-label="Loading quoted event..."
|
||||
{...props}
|
||||
>
|
||||
{/* Author name */}
|
||||
<Skeleton variant="text" width="6rem" height={14} />
|
||||
<Skeleton variant="text" width="6rem" height={16} />
|
||||
|
||||
{/* Quote Content: 2 lines */}
|
||||
<div className="space-y-2">
|
||||
<Skeleton variant="text" width="100%" height={12} />
|
||||
<Skeleton variant="text" width="80%" height={12} />
|
||||
<Skeleton variant="text" width="100%" height={14} />
|
||||
<Skeleton variant="text" width="80%" height={14} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user