Skip to content

Commit

Permalink
💄 update cursor styles
Browse files Browse the repository at this point in the history
  • Loading branch information
StarHeartHunt committed Nov 30, 2023
1 parent 5f617ff commit add879c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
8 changes: 1 addition & 7 deletions website/src/components/Resource/Card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,7 @@ export default function ResourceCard({
const authorAvatar = `${authorLink}.png?size=80`;

return (
<div
className={clsx(
"resource-card-container",
onClick && "resource-card-container-clickable",
className
)}
>
<div className={clsx("resource-card-container", className)}>
<div className="resource-card-header">
<div className="resource-card-header-title">
{resource.name}
Expand Down
7 changes: 2 additions & 5 deletions website/src/components/Resource/Card/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
@apply flex flex-col gap-y-2 w-full min-h-[12rem] p-4;
@apply transition-colors duration-500 bg-base-200;
@apply border-2 border-base-200 rounded-lg;

&-clickable {
@apply cursor-pointer hover:border-primary;
}
@apply hover:border-primary;
}

&-header {
Expand All @@ -21,7 +18,7 @@
}

&-expand {
@apply flex-none fill-current;
@apply flex-none fill-current cursor-pointer;
}
}

Expand Down

0 comments on commit add879c

Please sign in to comment.