Skip to content

Fixed layout of pulse animation in BuyNow button #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion components/next/BuyNow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const BuyNow = ({ children }: { children: ReactNode }) => {
<Link href={currentPricing.cartUrl}>
<a
target="_blank"
className={`cursor-pointer block mt-3 w-full px-6 py-3 border border-transparent font-medium rounded-md shadow-sm focus:outline-none focus:ring-2 text-center text-3xl text-white bg-pink-600 hover:bg-pink-700 focus:ring-offset-2 focus:ring-pink-500 focus:ring-offset-gray-50`}
className={`flex items-center justify-center cursor-pointer block mt-3 w-full px-6 py-3 border border-transparent font-medium rounded-md shadow-sm focus:outline-none focus:ring-2 text-center text-3xl text-white bg-pink-600 hover:bg-pink-700 focus:ring-offset-2 focus:ring-pink-500 focus:ring-offset-gray-50`}
>
{children}
</a>
Expand Down
2 changes: 1 addition & 1 deletion components/next/PulseDot.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const PulseDot = () => (
<span className="animate-pulse inline-block ml-2 mb-2 w-4 h-4 rounded-full ring-[3px] ring-white ring-offset-4 ring-offset-pink-500 bg-white" />
<span className="animate-pulse inline-block ml-4 w-4 h-4 rounded-full ring-[3px] ring-white ring-offset-4 ring-offset-pink-500 bg-white" />
);