Skip to content

Commit

Permalink
Make back button circle with no text, only used otherwise in AdminNavBar
Browse files Browse the repository at this point in the history
  • Loading branch information
lizageorge committed Jan 31, 2024
1 parent b404d35 commit 692ae4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/button/BackButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ const BackButton: FC<BackButtonProps> = ({ text = 'Back', link }) => {
onClick={handleClick}
className={clsx(
clsx(
'flex w-fit place-content-center items-center justify-center truncate p-4',
'flex w-fit place-content-center items-center justify-center truncate px-2 md:p-4',
'shadow-gray shadow-lg',
'rounded-3xl border-[0.05rem] border-black py-1',
'rounded-3xl border-[0.05rem] border-black py-2 md:py-1',
),
)}
>
<ArrowSmallLeftIcon className="mr-1.5 inline w-[1rem] stroke-current stroke-1" />
<p>{text}</p>
<ArrowSmallLeftIcon className="inline w-7 stroke-current stroke-1 md:mr-1.5 md:w-[1rem]" />
<p className="hidden md:block">{text}</p>
</button>
)
}
Expand Down

0 comments on commit 692ae4c

Please sign in to comment.