Skip to content

Commit

Permalink
Check 0.2 value
Browse files Browse the repository at this point in the history
  • Loading branch information
sashachabin committed Nov 22, 2023
1 parent 11c0183 commit 144d4b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/MainPage/Card/useSmoothCorners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function setCorners(entry: ResizeObserverEntry) {
const clipPath = getSvgPath({
width: left + width + right,
height: top + height + bottom,
cornerRadius: parseInt(styles.borderRadius, 10),
cornerRadius: 1 - parseInt(styles.borderRadius, 10),
cornerSmoothing: Number(styles.getPropertyValue('--smooth-corners'))
});

Expand Down

1 comment on commit 144d4b9

@ekbdev
Copy link

@ekbdev ekbdev commented on 144d4b9 Nov 22, 2023

Choose a reason for hiding this comment

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

Deploy preview for transport ready!

✅ Preview
https://transport-dk55q9ex9-ekbdev.vercel.app
https://ekbdev-transport-feature-card-smooth-corners.vercel.app

Built with commit 144d4b9.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.