Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions src/components/StoryCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function StoryCard({
const isActive = status === "active";

return (
<div className={`flex flex-col${!isActive ? " opacity-60" : ""}`}>
<div className="flex flex-col">
<Link
href={`/story/${storyline.storyline_id}`}
className="moleskine-notebook group relative block"
Expand Down Expand Up @@ -58,7 +58,7 @@ export function StoryCard({

{/* Cover — opens on hover (desktop) */}
<div
className={`notebook-cover relative z-10 flex aspect-[2/3] flex-col overflow-hidden ${isActive ? "border-2 border-[var(--accent)]" : "border border-[var(--border)]"}`}
className={`notebook-cover relative z-10 flex aspect-[2/3] flex-col overflow-hidden border ${isActive ? "border-[var(--accent)]" : "border-[var(--border)]"}`}
style={{
borderRadius: "5px 15px 15px 5px",
backgroundColor: "#F5EFE6",
Expand Down Expand Up @@ -107,8 +107,6 @@ export function StoryCard({
{status === "expired" ? "Expired" : "Completed"}
</span>
)}
</div>
<div className="mt-1 flex flex-wrap items-center gap-1.5">
<span className="rounded-sm border border-[var(--border)] px-1.5 py-0.5 text-[9px] text-[var(--text-muted)]">
{storyline.plot_count} {storyline.plot_count === 1 ? "plot" : "plots"}
</span>
Expand Down
Loading