Skip to content

Commit

Permalink
fixed layout issues on bounty page (#1643)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajveeerr authored Dec 11, 2024
1 parent 18f4f36 commit 246752d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/app/bounty/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export default function Page() {

return (
<>
<div className="h-max pb-4 transition-colors duration-500 md:p-8">
<div className="mb-6 flex flex-col items-start justify-center px-4 pt-3 sm:px-8">
<div className="h-max pb-4 transition-colors duration-500 md:p-8 flex flex-col items-center justify-center w-full">
<div className="mb-6 flex flex-col items-start justify-center px-4 pt-3 sm:px-8 max-w-[90rem] w-full">
<div className="text-2xl text-black transition-colors duration-500 dark:text-white sm:text-3xl">
<h1 className="mt-20 text-black dark:text-white sm:mt-16">
Your Bounties
Expand Down
8 changes: 4 additions & 4 deletions src/components/PaymentDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function PaymentMethodsDropdown({
{isDropdownOpen && (
<div className="w-full px-2 py-8 sm:px-0">
<div className="mb-8">
<div className="flex w-[90vw] justify-between">
<div className="flex justify-between">
<p className="py-2 font-semibold">UPI Addresses</p>
{upiAddresses && upiAddresses.length < 2 && (
<Button
Expand All @@ -93,7 +93,7 @@ export default function PaymentMethodsDropdown({
</Button>
)}
</div>
<div className="flex w-[90vw] flex-col sm:w-3/6">
<div className="flex flex-col">
{upiAddresses && upiAddresses.length !== 0 ? (
upiAddresses?.map((upi) => (
<div
Expand All @@ -120,7 +120,7 @@ export default function PaymentMethodsDropdown({
</div>

<div>
<div className="flex w-[90vw] justify-between">
<div className="flex justify-between">
<p className="py-2 font-semibold">Solana Addresses</p>
{solanaAddresses && solanaAddresses.length < 2 && (
<Button
Expand All @@ -136,7 +136,7 @@ export default function PaymentMethodsDropdown({
</Button>
)}
</div>
<div className="flex w-[90vw] flex-col sm:w-3/6">
<div className="flex flex-col">
{solanaAddresses?.length !== 0 ? (
solanaAddresses?.map((sol) => (
<div
Expand Down

0 comments on commit 246752d

Please sign in to comment.