Skip to content

Commit

Permalink
Avoid line break on CONTACT US button
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagov8 authored Jan 8, 2025
1 parent 77349e5 commit 16d60b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/components/PhoneButton/PhoneButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const PhoneButton = ({ className }: PhoneButtonProps) => {
<CustomLink
href={url}
className={cx(
"flex h-12 w-full shrink-0 cursor-pointer items-center justify-center rounded bg-ssw-red px-5 text-xl hover:opacity-70 max-sm:my-5 sm:w-fit",
"flex h-12 w-full shrink-0 cursor-pointer items-center justify-center rounded bg-ssw-red px-5 text-xl hover:opacity-70 max-sm:my-5 sm:w-fit whitespace-nowrap",

Check failure on line 33 in lib/components/PhoneButton/PhoneButton.tsx

View workflow job for this annotation

GitHub Actions / lint

Replace `rounded·bg-ssw-red·px-5·text-xl·hover:opacity-70·max-sm:my-5·sm:w-fit·whitespace-nowrap` with `whitespace-nowrap·rounded·bg-ssw-red·px-5·text-xl·hover:opacity-70·max-sm:my-5·sm:w-fit`
)}
>
<MegaIcon icon="phoneAlt" className="text-2xl text-white" />
Expand Down

0 comments on commit 16d60b2

Please sign in to comment.