diff --git a/src/pages/vote/LegacyVoteCard.tsx b/src/pages/vote/LegacyVoteCard.tsx index 70550387..f1c41888 100644 --- a/src/pages/vote/LegacyVoteCard.tsx +++ b/src/pages/vote/LegacyVoteCard.tsx @@ -9,7 +9,7 @@ export const LegacyVoteCard: React.FC = ({ }) => { return (
Legacy onchain contract @@ -22,7 +22,7 @@ export const LegacyVoteCard: React.FC = ({ View Legacy Gov diff --git a/src/pages/vote/StakedCard.tsx b/src/pages/vote/StakedCard.tsx index 0e88f50f..894f7ea6 100644 --- a/src/pages/vote/StakedCard.tsx +++ b/src/pages/vote/StakedCard.tsx @@ -25,9 +25,9 @@ export const StakeCard: React.FC = ({ const { handleWalletButtonClick } = useWalletConnect(); return (
-
+
Stake {symbol}
@@ -36,11 +36,11 @@ export const StakeCard: React.FC = ({ In order to participate in Bancor governance activities, you should stake {symbol} tokens.
-
+
How to Vote diff --git a/src/pages/vote/VoteCardDivided.tsx b/src/pages/vote/VoteCardDivided.tsx index 905f2998..ba4dd9c2 100644 --- a/src/pages/vote/VoteCardDivided.tsx +++ b/src/pages/vote/VoteCardDivided.tsx @@ -18,20 +18,20 @@ export const VoteCardDivided: React.FC = ({ // Append TailwindCSS classes to the first child's existing classes const firstChildClasses = childrenArray[0].props.className || ''; const firstChildWithClasses = cloneElement(childrenArray[0], { - className: `flex-1 md:h-full lt-md:w-full p-24 ${firstChildClasses}`.trim(), + className: `flex-1 lg:h-full lt-lg:w-full p-24 ${firstChildClasses}`.trim(), }); // Append TailwindCSS classes to the second child's existing classes const secondChildClasses = childrenArray[1].props.className || ''; const secondChildWithClasses = cloneElement(childrenArray[1], { className: - `flex-none md:h-full md:w-[350px] lt-md:w-full p-24 ${secondChildClasses}`.trim(), + `flex-none lg:h-full lg:w-[350px] lt-lg:w-full p-24 ${secondChildClasses}`.trim(), }); return (
{firstChildWithClasses} {secondChildWithClasses} diff --git a/tailwind.config.js b/tailwind.config.js index 4d26d8e0..4b519850 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -9,8 +9,8 @@ module.exports = { screens: { sm: '640px', md: '768px', - 'lt-md': { max: '767px' }, // lt-md for "less than md" lg: '1024px', + 'lt-lg': { max: '1023px' }, xl: '1280px', '2xl': '1536px', },