Skip to content

Commit

Permalink
truncate project summary in round page cards and show mouse pointer o…
Browse files Browse the repository at this point in the history
…n cart icon (#2659)
gravityblast authored Nov 21, 2023
1 parent 1725b5a commit a8f1d26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/grant-explorer/src/features/round/ViewRoundPage.tsx
Original file line number Diff line number Diff line change
@@ -456,7 +456,7 @@ function ProjectCard(props: {
>
{truncateDescription(
renderToPlainText(project.projectMetadata.description),
180
100
)}
</CardDescription>
</CardContent>
@@ -522,7 +522,7 @@ export function CartButtonToggle(props: {
if (props.isAlreadyInCart) {
return (
<div
className="float-right"
className="float-right cursor-pointer"
data-testid="remove-from-cart"
onClick={props.removeFromCart}
>
@@ -532,7 +532,7 @@ export function CartButtonToggle(props: {
}
return (
<div
className="float-right"
className="float-right cursor-pointer"
data-testid="add-to-cart"
// oonclick adds the project to the cart, sets the current project added to cart and shows the cart notification
onClick={() => {

5 comments on commit a8f1d26

@vercel
Copy link

@vercel vercel bot commented on a8f1d26 Nov 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

manager-staging – ./packages/round-manager

manager-staging-git-main-grants-stack.vercel.app
manager-staging-grants-stack.vercel.app
grants-stack-manager-staging.vercel.app

@vercel
Copy link

@vercel vercel bot commented on a8f1d26 Nov 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-staging – ./packages/builder

grants-stack-builder-staging.vercel.app
builder-staging-git-main-grants-stack.vercel.app
builder-staging-grants-stack.vercel.app

@vercel
Copy link

@vercel vercel bot commented on a8f1d26 Nov 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

explorer-staging – ./packages/grant-explorer

grants-stack-explorer-staging.vercel.app
explorer-staging-git-main-grants-stack.vercel.app
explorer-staging-grants-stack.vercel.app

@vercel
Copy link

@vercel vercel bot commented on a8f1d26 Nov 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder – ./packages/builder

builder-grants-stack.vercel.app
builder-git-main-grants-stack.vercel.app
builder-kappa-one.vercel.app
builder.gitcoin.co

@vercel
Copy link

@vercel vercel bot commented on a8f1d26 Nov 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

manager – ./packages/round-manager

manager-grants-stack.vercel.app
grants-stack-round-manager.vercel.app
manager-git-main-grants-stack.vercel.app
manager.gitcoin.co

Please sign in to comment.