From 02c04ca252ff4785db5aeb93f83095e802681786 Mon Sep 17 00:00:00 2001 From: 0xmegalodon Date: Sat, 20 Jan 2024 06:52:44 +0700 Subject: [PATCH 1/4] update style mobile --- src/modules/Whitelist/stepsEco/Step/index.tsx | 76 +++++++++---------- src/modules/Whitelist/styles.module.scss | 2 + 2 files changed, 40 insertions(+), 38 deletions(-) diff --git a/src/modules/Whitelist/stepsEco/Step/index.tsx b/src/modules/Whitelist/stepsEco/Step/index.tsx index 6678a01d2..b83c9fe15 100644 --- a/src/modules/Whitelist/stepsEco/Step/index.tsx +++ b/src/modules/Whitelist/stepsEco/Step/index.tsx @@ -53,7 +53,7 @@ export default function ItemCommunity({ alt="ic-section" /> - +
{content?.project}
{content?.title}
@@ -65,44 +65,8 @@ export default function ItemCommunity({ }} /> )} - {!!content?.actionText && ( - - - - {!!content.actionHandleSecondary && ( - - )} - - - )}
- +
{content?.right.title} {content?.right.tooltip && <>{content?.right.tooltip}} @@ -114,6 +78,42 @@ export default function ItemCommunity({ )} + {!!content?.actionText && ( + + + + {!!content.actionHandleSecondary && ( + + )} + + + )}
diff --git a/src/modules/Whitelist/styles.module.scss b/src/modules/Whitelist/styles.module.scss index 22b7867f2..73e3ed04a 100644 --- a/src/modules/Whitelist/styles.module.scss +++ b/src/modules/Whitelist/styles.module.scss @@ -87,12 +87,14 @@ .chakra-tabs__tablist { position: relative; width: 100%; + overflow-x: auto; button { font-size: 24px; color: #494846; border-bottom-width: 0px !important; text-align: left; + white-space: nowrap; @include w-max(720px) { font-size: 15px; From d8019c03f0b2392f6bd9573d45c163c3993c0568 Mon Sep 17 00:00:00 2001 From: 0xmegalodon Date: Sat, 20 Jan 2024 07:02:04 +0700 Subject: [PATCH 2/4] update style mobile --- .../Whitelist/stepAirdrop/Step/index.tsx | 97 +++++++++---------- 1 file changed, 45 insertions(+), 52 deletions(-) diff --git a/src/modules/Whitelist/stepAirdrop/Step/index.tsx b/src/modules/Whitelist/stepAirdrop/Step/index.tsx index d27d3eb7d..5b8fdd1d9 100644 --- a/src/modules/Whitelist/stepAirdrop/Step/index.tsx +++ b/src/modules/Whitelist/stepAirdrop/Step/index.tsx @@ -68,7 +68,7 @@ export default function ItemCommunity({ alt="ic-section" /> - +
{AirdropText[content?.airdropType]}
@@ -94,60 +94,11 @@ export default function ItemCommunity({ }
} - {!!content?.actionText && ( - - - - {!!content.actionHandleSecondary && ( - - )} - - - )}
- +
{content?.right.title} - { - content?.right.tooltip && ( - <> - {content?.right.tooltip} - - ) - } + {content?.right.tooltip && <>{content?.right.tooltip}}
{!!content?.desc && (
@@ -156,6 +107,48 @@ export default function ItemCommunity({ )} + {!!content?.actionText && ( + + + + {!!content.actionHandleSecondary && ( + + )} + + + )}
From f916dc507246b9d11f8decd7c0cd8238cd7e8804 Mon Sep 17 00:00:00 2001 From: 0xmegalodon Date: Sat, 20 Jan 2024 07:06:10 +0700 Subject: [PATCH 3/4] update style mobile --- src/modules/Whitelist/steps/Step/index.tsx | 114 ++++++++++----------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/src/modules/Whitelist/steps/Step/index.tsx b/src/modules/Whitelist/steps/Step/index.tsx index 0a5517b8e..dc13c1216 100644 --- a/src/modules/Whitelist/steps/Step/index.tsx +++ b/src/modules/Whitelist/steps/Step/index.tsx @@ -63,71 +63,71 @@ export default function ItemCommunity({
ic-section - +
{content?.title}
{!!content?.desc && (
{content?.desc}
)} - {!!content?.actionText && ( - - - - {!!content.actionHandleSecondary && ( - - )} - {step === MultiplierStep.signMessage && ( - - )} - {step === MultiplierStep.modular && ( - - )} - - { - step === MultiplierStep.authen && showManualCheck && ( - - Missing from the Leaderboard? - - ) - } - - )}
- +
{content?.right.title}
{!!content?.desc && (
{content?.right.desc}
)}
+ {!!content?.actionText && ( + + + + {!!content.actionHandleSecondary && ( + + )} + {step === MultiplierStep.signMessage && ( + + )} + {step === MultiplierStep.modular && ( + + )} + + { + step === MultiplierStep.authen && showManualCheck && ( + + Missing from the Leaderboard? + + ) + } + + )}
From 348dae52dee71c0671dc9d1bb6c0a55da4af1c8e Mon Sep 17 00:00:00 2001 From: 0xmegalodon Date: Sat, 20 Jan 2024 07:09:11 +0700 Subject: [PATCH 4/4] update style mobile --- src/modules/Whitelist/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/Whitelist/index.tsx b/src/modules/Whitelist/index.tsx index a02692587..613a1bfbe 100644 --- a/src/modules/Whitelist/index.tsx +++ b/src/modules/Whitelist/index.tsx @@ -55,7 +55,7 @@ const Whitelist = () => { ) : ( )} - + ); };