From e8a8d0083dc3fe85beeae36dee5ee0c6923336f3 Mon Sep 17 00:00:00 2001 From: Taegeon Alan Go Date: Tue, 25 Jun 2024 01:39:00 +0900 Subject: [PATCH] fix stake today card (#1339) --- src/i18n/en-US/index.ts | 2 +- src/staking-v3/components/VotingPeriodSideAdd.vue | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts index 2ba92bdb3..09111007c 100644 --- a/src/i18n/en-US/index.ts +++ b/src/i18n/en-US/index.ts @@ -798,7 +798,7 @@ export default { votingOpenText: 'Experience dApp Staking, the unique staking mechanism exclusive to Astar, where communities can back their favorite teams by staking ASTR tokens and earn substantial rewards.', stakeToday: 'Stake today, be entitled to big bonus!', - stakeTodayFormatted: 'Stake today,
be entitled to
bonus!', + stakeTodayFormatted: 'Stake today,\nbe entitled to\nbonus!', voteText: 'I would like to vote my tokens with', transferText: 'I would like to move my funds from', stakeVoteOn: 'And vote/stake on', diff --git a/src/staking-v3/components/VotingPeriodSideAdd.vue b/src/staking-v3/components/VotingPeriodSideAdd.vue index 568f2c342..22e73f125 100644 --- a/src/staking-v3/components/VotingPeriodSideAdd.vue +++ b/src/staking-v3/components/VotingPeriodSideAdd.vue @@ -7,8 +7,9 @@
@@ -102,4 +103,9 @@ export default defineComponent({ } } } + +.card--stake-today { + white-space: pre; + min-height: 100%; +}