Skip to content

Commit

Permalink
Improve Responsiveness
Browse files Browse the repository at this point in the history
Remove horizontal scroll on mobile
Improve Navbar Responsiveness
  • Loading branch information
Sharqiewicz authored Aug 29, 2024
2 parents 326c40f + 4af9056 commit a420ade
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const Links = () => (
href={link.href}
target={link.href.startsWith('https') ? '_blank' : ''}
rel={link.href.startsWith('https') ? 'noreferrer' : ''}
className="px-4 text-xl font-thin text-white md:text-md lg:px-7 hover:text-amber-500 hover:underline"
className="px-3 text-lg font-thin text-white lg:px-4 lg:text-xl lg:px-7 hover:text-amber-500 hover:underline"
>
{link.title}
</a>
Expand Down
4 changes: 3 additions & 1 deletion src/components/buttons/ConnectWallet/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ export const ConnectWallet = () => (
type="button"
className="text-white bg-pink-600 border-pink-600 btn rounded-3xl"
>
Connect Wallet
<p className="flex">
Connect <span className="hidden lg:block lg:ml-1">Wallet</span>
</p>
<PlayCircleIcon className="w-5" />
</button>
);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/swap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export const SwapPage = () => {
<main ref={formRef}>
<SigningBox step={signingPhase} />
<form
className="w-full max-w-2xl px-4 py-8 mx-4 mt-12 mb-12 rounded-lg shadow-custom md:mx-auto md:w-2/3 lg:w-3/5 xl:w-1/2"
className="max-w-2xl px-4 py-8 mx-4 mt-12 mb-12 rounded-lg shadow-custom md:mx-auto md:w-2/3 lg:w-3/5 xl:w-1/2"
onSubmit={onSubmit}
>
<h1 className="mb-5 text-3xl font-bold text-center text-blue-700">Withdraw</h1>
Expand Down

0 comments on commit a420ade

Please sign in to comment.