Skip to content
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

fixed layout issues on bounty page #1643

Merged
merged 1 commit into from
Dec 11, 2024
Merged
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
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
Loading